projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e46d8
)
Swith to pubtypes section before emitting pub types.
author
Devang Patel
<dpatel@apple.com>
Tue, 24 Nov 2009 19:18:41 +0000
(19:18 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 24 Nov 2009 19:18:41 +0000
(19:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89787
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 4b678a23c4d3a96355b2b9a0e39fb9bbff16c396..4ba156c6a235b4a73d8ddebcdcf09b22cee954e3 100644
(file)
--- 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");