llvm.org GIT mirror llvm / fa76f22
Add an assert here in case parsing gave us a NULL compile unit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162498 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 7 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9393 << " (next CU at " << format("0x%08x", getNextCompileUnitOffset())
9494 << ")\n";
9595
96 getCompileUnitDIE(false)->dump(OS, this, -1U);
96 const DWARFDebugInfoEntryMinimal *CU = getCompileUnitDIE(false);
97 assert(CU && "Null Compile Unit?");
98 CU->dump(OS, this, -1U);
9799 }
98100
99101 const char *DWARFCompileUnit::getCompilationDir() {