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:
2343b10
)
If pointer type has a name then do not ignore the name.
author
Devang Patel
<dpatel@apple.com>
Mon, 30 Nov 2009 23:56:56 +0000
(23:56 +0000)
committer
Devang Patel
<dpatel@apple.com>
Mon, 30 Nov 2009 23:56:56 +0000
(23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90172
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 9dad574aa2e0be8293c7daa6d0696503fe78ed01..c2e1e0503a884fee61d09eb7324727b76c8e32f3 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-815,7
+815,7
@@
void DwarfDebug::constructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
addType(DW_Unit, &Buffer, FromTy);
// Add name if not anonymous or intermediate type.
- if (!Name.empty()
&& Tag != dwarf::DW_TAG_pointer_type
)
+ if (!Name.empty())
addString(&Buffer, dwarf::DW_AT_name, dwarf::DW_FORM_string, Name);
// Add size if non-zero (derived types might be zero-sized.)