diff options
author | Devang Patel <dpatel@apple.com> | 2009-11-24 19:18:41 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-11-24 19:18:41 +0000 |
commit | c8654eb64e92368cc40979381e411bea886bab32 (patch) | |
tree | 3227c82797760876e88dd7e133cb365eed15bf51 /llvm/lib | |
parent | 7402c472c359459dee6a5eaf42a111a1dbeb3673 (diff) | |
download | bcm5719-llvm-c8654eb64e92368cc40979381e411bea886bab32.tar.gz bcm5719-llvm-c8654eb64e92368cc40979381e411bea886bab32.zip |
Swith to pubtypes section before emitting pub types.
llvm-svn: 89787
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4b678a23c4d..4ba156c6a23 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2717,6 +2717,9 @@ void DwarfDebug::emitDebugPubNames() { } void DwarfDebug::emitDebugPubTypes() { + // Start the dwarf pubnames section. + Asm->OutStreamer.SwitchSection( + Asm->getObjFileLowering().getDwarfPubTypesSection()); EmitDifference("pubtypes_end", ModuleCU->getID(), "pubtypes_begin", ModuleCU->getID(), true); Asm->EOL("Length of Public Types Info"); |