diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-07 00:04:05 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-07 00:04:05 +0000 |
commit | c4ae9b3aebfe4ad7d7172f55d4e01438c7c36d6e (patch) | |
tree | 70eaec099b50e30ae498aad93fa2dd3317feecf5 /llvm/lib/CodeGen | |
parent | 3121353c993e979944306957c4e611d4d80b006c (diff) | |
download | bcm5719-llvm-c4ae9b3aebfe4ad7d7172f55d4e01438c7c36d6e.tar.gz bcm5719-llvm-c4ae9b3aebfe4ad7d7172f55d4e01438c7c36d6e.zip |
Debug Info: Use identifier to reference DIType in containing type field of
a DISubprogram.
Verifier is updated accordingly.
llvm-svn: 190229
Diffstat (limited to 'llvm/lib/CodeGen')
-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 f9ea545483e..15bfb7e5431 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -1289,7 +1289,7 @@ DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) { addUInt(Block, 0, dwarf::DW_FORM_udata, SP.getVirtualIndex()); addBlock(SPDie, dwarf::DW_AT_vtable_elem_location, 0, Block); ContainingTypeMap.insert(std::make_pair(SPDie, - SP.getContainingType())); + DD->resolve(SP.getContainingType()))); } if (!SP.isDefinition()) { |