diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-01-28 03:48:44 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-01-28 03:48:44 +0000 |
commit | 2a154dd09feb0940812c43f187f55f80b9e7317e (patch) | |
tree | 24833f95db9b9a3f90e00f41773018a60c9ee3a2 /include | |
parent | f555fb410ed84d8d7cddf61a266cbb7b7c53437e (diff) | |
download | llvm-2a154dd09feb0940812c43f187f55f80b9e7317e.tar.gz llvm-2a154dd09feb0940812c43f187f55f80b9e7317e.tar.bz2 llvm-2a154dd09feb0940812c43f187f55f80b9e7317e.tar.xz |
MC: Add a .debug section that we'll soon use to emit debug info into COFF files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCObjectFileInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/MC/MCObjectFileInfo.h b/include/llvm/MC/MCObjectFileInfo.h index 7734a157f5..cc5eb9eeeb 100644 --- a/include/llvm/MC/MCObjectFileInfo.h +++ b/include/llvm/MC/MCObjectFileInfo.h @@ -129,6 +129,8 @@ protected: const MCSection *DwarfGnuPubNamesSection; const MCSection *DwarfGnuPubTypesSection; + const MCSection *COFFDebugSymbolsSection; + // Extra TLS Variable Data section. If the target needs to put additional // information for a TLS variable, it'll go here. const MCSection *TLSExtraDataSection; @@ -283,6 +285,10 @@ public: return DwarfAddrSection; } + const MCSection *getCOFFDebugSymbolsSection() const { + return COFFDebugSymbolsSection; + } + const MCSection *getTLSExtraDataSection() const { return TLSExtraDataSection; } |