summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a8272d)
raw | patch | inline | side by side (parent: 7a8272d)
author | David Blaikie <dblaikie@gmail.com> | |
Thu, 5 Jun 2014 00:25:26 +0000 (00:25 +0000) | ||
committer | David Blaikie <dblaikie@gmail.com> | |
Thu, 5 Jun 2014 00:25:26 +0000 (00:25 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210228 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp | patch | blob | history |
index 0bac3bec38917f330aefd772f83e4c402ac052f5..af9344a4245bb54869543a7650c0287773d5eb15 100644 (file)
// DW_TAG_inlined_subroutine may refer to this DIE.
DIE &SPDie = createAndAddDIE(dwarf::DW_TAG_subprogram, *ContextDIE, SP);
- // Abort here and fill this in later, depending on whether or not this
+ // Stop here and fill this in later, depending on whether or not this
// subprogram turns out to have inlined instances or not.
if (SP.isDefinition())
return &SPDie;
StringRef DeclLinkageName;
if (DISubprogram SPDecl = SP.getFunctionDeclaration()) {
DeclDie = getDIE(SPDecl);
- assert(DeclDie);
+ assert(DeclDie && "This DIE should've already been constructed when the "
+ "definition DIE was creaeted in "
+ "getOrCreateSubprogramDIE");
DeclLinkageName = SPDecl.getLinkageName();
}