[llvm-commits] [llvm] r165432 - /llvm/trunk/lib/MC/MCObjectFileInfo.cpp
Eric Christopher
echristo at gmail.com
Mon Oct 8 14:41:30 PDT 2012
Author: echristo
Date: Mon Oct 8 16:41:30 2012
New Revision: 165432
URL: http://llvm.org/viewvc/llvm-project?rev=165432&view=rev
Log:
Add names for the accelerator table sections so that they can
be emitted if they're wanted on elf platforms.
Modified:
llvm/trunk/lib/MC/MCObjectFileInfo.cpp
Modified: llvm/trunk/lib/MC/MCObjectFileInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=165432&r1=165431&r2=165432&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCObjectFileInfo.cpp (original)
+++ llvm/trunk/lib/MC/MCObjectFileInfo.cpp Mon Oct 8 16:41:30 2012
@@ -392,6 +392,18 @@
DwarfMacroInfoSection =
Ctx->getELFSection(".debug_macinfo", ELF::SHT_PROGBITS, 0,
SectionKind::getMetadata());
+ DwarfAccelNamesSection =
+ Ctx->getELFSection(".apple_names", ELF::SHT_PROGBITS, 0,
+ SectionKind::getMetadata());
+ DwarfAccelObjCSection =
+ Ctx->getELFSection(".apple_objc", ELF::SHT_PROGBITS, 0,
+ SectionKind::getMetadata());
+ DwarfAccelNamespaceSection =
+ Ctx->getELFSection(".apple_namespaces", ELF::SHT_PROGBITS, 0,
+ SectionKind::getMetadata());
+ DwarfAccelTypesSection =
+ Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0,
+ SectionKind::getMetadata());
}
More information about the llvm-commits
mailing list