aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-06-01 00:23:24 +0000
committerDevang Patel <dpatel@apple.com>2011-06-01 00:23:24 +0000
commitc20bdf194ad4c824ee6a5f163410d73513ae5c81 (patch)
treed61fcd6ca1ec821c571d6b9591a20fa642e9fe49 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent66658e4dff51664a53c56dd729b8abe4d57aadef (diff)
Incomplete type may not have corresponding DIE, so do not check DIEEntry eagerly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 3cfbd73ef8..60a9b2872b 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -87,7 +87,7 @@ public:
/// addGlobalType - Add a new global type to the compile unit.
///
- void addGlobalType(DIType Ty, DIE *Die);
+ void addGlobalType(DIType Ty);
/// getDIE - Returns the debug information entry map slot for the
/// specified debug variable.