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:
a58a049
)
There is no need to emit source location info for DW_TAG_pointer_type.
author
Devang Patel
<dpatel@apple.com>
Fri, 20 Nov 2009 21:05:37 +0000
(21:05 +0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 20 Nov 2009 21:05:37 +0000
(21:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89487
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 c62c43545c466631771cd97fe835c28bb839532e..4879910fee7b47f12e89e76fed40156f880b6aa0 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-929,7
+929,7
@@
void DwarfDebug::ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
AddUInt(&Buffer, dwarf::DW_AT_byte_size, 0, Size);
// Add source line info if available and TyDesc is not a forward declaration.
- if (!DTy.isForwardDecl())
+ if (!DTy.isForwardDecl()
&& Tag != dwarf::DW_TAG_pointer_type
)
AddSourceLine(&Buffer, &DTy);
}