diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-23 23:15:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-23 23:15:58 +0000 |
commit | 6d0f1e683addaba9b2dfa124f8969a306cec7a60 (patch) | |
tree | 6773635a18fb880aa390e3ff8a50cbb3656034fd /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | 8de5e98f6aec17c5a7771c8dbbb609b80f309e7a (diff) | |
download | bcm5719-llvm-6d0f1e683addaba9b2dfa124f8969a306cec7a60.tar.gz bcm5719-llvm-6d0f1e683addaba9b2dfa124f8969a306cec7a60.zip |
Add more external types to the pubtypes table. Expand the asm
checking patch until we get full dumping support.
llvm-svn: 191239
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 171c13803c1..7d35937ccaf 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -880,7 +880,7 @@ void CompileUnit::addGlobalName(StringRef Name, DIE *Die) { /// void CompileUnit::addGlobalType(DIType Ty) { DIDescriptor Context = DD->resolve(Ty.getContext()); - if (Ty.isCompositeType() && !Ty.getName().empty() && !Ty.isForwardDecl() && + if (!Ty.getName().empty() && !Ty.isForwardDecl() && (!Context || Context.isCompileUnit() || Context.isFile() || Context.isNameSpace())) if (DIEEntry *Entry = getDIEEntry(Ty)) |