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
This commit is contained in:
Devang Patel 2009-11-24 19:18:41 +00:00
parent 98e46d81c4
commit f3a0376a56

View File

@ -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");