diff options
author | Eric Christopher <echristo@gmail.com> | 2012-11-30 06:47:06 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-11-30 06:47:06 +0000 |
commit | 3c2300911724f6e0731fbe433a8857791641d21c (patch) | |
tree | b780ebe82ed03a8a8783ee509f6a061f0c0cf361 /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | 0a4d875c4825468cfbe8ec4d8c399dc606a5ec52 (diff) | |
download | llvm-3c2300911724f6e0731fbe433a8857791641d21c.zip llvm-3c2300911724f6e0731fbe433a8857791641d21c.tar.gz llvm-3c2300911724f6e0731fbe433a8857791641d21c.tar.bz2 |
Add the rest of the experimental fission sections to MC.
llvm-svn: 168986
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 5a68131..e064911 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -413,6 +413,19 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) { DwarfInfoDWOSection = Ctx->getELFSection(".debug_info.dwo", ELF::SHT_PROGBITS, 0, SectionKind::getMetadata()); + DwarfAbbrevDWOSection = + Ctx->getELFSection(".debug_abbrev.dwo", ELF::SHT_PROGBITS, 0, + SectionKind::getMetadata()); + DwarfStrDWOSection = + Ctx->getELFSection(".debug_str.dwo", ELF::SHT_PROGBITS, + ELF::SHF_MERGE | ELF::SHF_STRINGS, + SectionKind::getMergeable1ByteCString()); + DwarfLineDWOSection = + Ctx->getELFSection(".debug_line.dwo", ELF::SHT_PROGBITS, 0, + SectionKind::getMetadata()); + DwarfLocDWOSection = + Ctx->getELFSection(".debug_loc.dwo", ELF::SHT_PROGBITS, 0, + SectionKind::getMetadata()); } |