File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
llvm/lib/DWARFLinker/Classic Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2182,7 +2182,6 @@ void DWARFLinker::DIECloner::generateLineTableForUnit(CompileUnit &Unit) {
21822182
21832183 if (const DWARFDebugLine::LineTable *LT =
21842184 ObjFile.Dwarf ->getLineTableForUnit (&Unit.getOrigUnit ())) {
2185- // Search through Prologue
21862185
21872186 DWARFDebugLine::LineTable LineTable;
21882187
@@ -2441,6 +2440,7 @@ void DWARFLinker::DIECloner::generateLineTableForUnit(CompileUnit &Unit) {
24412440 continue ;
24422441 }
24432442 size_t OrigRowIndex = OrigRowIter->second ;
2443+
24442444 // 2. Get the new row index from the original row index.
24452445 auto NewRowIter = OrigRowToNewRow.find (OrigRowIndex);
24462446 if (NewRowIter == OrigRowToNewRow.end ()) {
@@ -2454,6 +2454,7 @@ void DWARFLinker::DIECloner::generateLineTableForUnit(CompileUnit &Unit) {
24542454 assert (NewRowIter->second < OutputRowOffsets.size () &&
24552455 " New row index out of bounds" );
24562456 uint64_t NewStmtSeqOffset = OutputRowOffsets[NewRowIter->second ];
2457+
24572458 // 4. Patch the stmt_list attribute with the new offset.
24582459 StmtSeq.set (NewStmtSeqOffset);
24592460 }
You can’t perform that action at this time.
0 commit comments