diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-07 17:17:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-07 17:17:41 +0000 |
commit | eb40a0fd98c44ecc6360e7fab33cf9e9911bed4f (patch) | |
tree | 8be5bd0c32a88edfdcd71628360aee7e01146bde /include/llvm/MC/MCContext.h | |
parent | 5fa680d3970b11cd7f6be8663688dc50a32a7c9e (diff) |
switch MCSectionCOFF from a syntactic to semantic representation,
patch by Peter Housel!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCContext.h')
-rw-r--r-- | include/llvm/MC/MCContext.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index 4434341f52..fcd898b97a 100644 --- a/include/llvm/MC/MCContext.h +++ b/include/llvm/MC/MCContext.h @@ -50,7 +50,7 @@ namespace llvm { /// objects. BumpPtrAllocator Allocator; - void *MachOUniquingMap, *ELFUniquingMap; + void *MachOUniquingMap, *ELFUniquingMap, *COFFUniquingMap; public: explicit MCContext(const MCAsmInfo &MAI); ~MCContext(); @@ -97,6 +97,9 @@ namespace llvm { const MCSection *getELFSection(StringRef Section, unsigned Type, unsigned Flags, SectionKind Kind, bool IsExplicit = false); + + const MCSection *getCOFFSection(StringRef Section, unsigned Flags, + SectionKind Kind); /// @} |