projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b27249
)
Only emit the section sym if we're emitting the section.
author
Eric Christopher
<echristo@gmail.com>
Mon, 26 Aug 2013 23:24:31 +0000
(23:24 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Mon, 26 Aug 2013 23:24:31 +0000
(23:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189288
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 99ca037ec28bfda2401203d98b3e47283124f886..c523972ac3c2d7e9d0363272c60b89973c48d575 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-1929,7
+1929,8
@@
void DwarfDebug::emitSectionLabels() {
emitSectionSym(Asm, TLOF.getDwarfLocSection());
if (HasDwarfPubNames)
emitSectionSym(Asm, TLOF.getDwarfPubNamesSection());
- emitSectionSym(Asm, TLOF.getDwarfPubTypesSection());
+ if (useDarwinGDBCompat())
+ emitSectionSym(Asm, TLOF.getDwarfPubTypesSection());
DwarfStrSectionSym =
emitSectionSym(Asm, TLOF.getDwarfStrSection(), "info_string");
if (useSplitDwarf()) {