diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-09 20:03:14 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-09 20:03:14 +0000 |
commit | 328a20471dde690712211ce2b00641fcc6a57e36 (patch) | |
tree | cde82302e2af912d196e77407446921b3940c403 /include/llvm/MC/MCObjectFileInfo.h | |
parent | d4ad5e32a61da5eb046cc109a2bb7c68cc06745f (diff) | |
download | external_llvm-328a20471dde690712211ce2b00641fcc6a57e36.zip external_llvm-328a20471dde690712211ce2b00641fcc6a57e36.tar.gz external_llvm-328a20471dde690712211ce2b00641fcc6a57e36.tar.bz2 |
Add the gnu pubnames and pubtypes sections to the mc object file
handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCObjectFileInfo.h')
-rw-r--r-- | include/llvm/MC/MCObjectFileInfo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/MC/MCObjectFileInfo.h b/include/llvm/MC/MCObjectFileInfo.h index a5853b6..5e5debe 100644 --- a/include/llvm/MC/MCObjectFileInfo.h +++ b/include/llvm/MC/MCObjectFileInfo.h @@ -125,6 +125,10 @@ protected: const MCSection *DwarfStrOffDWOSection; const MCSection *DwarfAddrSection; + /// Sections for newer gnu pubnames and pubtypes. + const MCSection *DwarfGnuPubNamesSection; + const MCSection *DwarfGnuPubTypesSection; + // Extra TLS Variable Data section. If the target needs to put additional // information for a TLS variable, it'll go here. const MCSection *TLSExtraDataSection; @@ -223,6 +227,12 @@ public: const MCSection *getDwarfFrameSection() const { return DwarfFrameSection; } const MCSection *getDwarfPubNamesSection() const{return DwarfPubNamesSection;} const MCSection *getDwarfPubTypesSection() const{return DwarfPubTypesSection;} + const MCSection *getDwarfGnuPubNamesSection() const { + return DwarfGnuPubNamesSection; + } + const MCSection *getDwarfGnuPubTypesSection() const { + return DwarfGnuPubTypesSection; + } const MCSection *getDwarfDebugInlineSection() const { return DwarfDebugInlineSection; } |