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 | f3a0376a56f7b299804c0b0a3e5d991312cedef1 (patch) | |
tree | e3d1483afd9fa3fafbfa692f585c06925468d7eb /lib/CodeGen | |
parent | 98e46d81c44bb20b1d322a2ff0bf0aa8317c28fc (diff) | |
download | external_llvm-f3a0376a56f7b299804c0b0a3e5d991312cedef1.zip external_llvm-f3a0376a56f7b299804c0b0a3e5d991312cedef1.tar.gz external_llvm-f3a0376a56f7b299804c0b0a3e5d991312cedef1.tar.bz2 |
Swith to pubtypes section before emitting pub types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4b678a2..4ba156c 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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"); |