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) {
2182
2182
2183
2183
if (const DWARFDebugLine::LineTable *LT =
2184
2184
ObjFile.Dwarf ->getLineTableForUnit (&Unit.getOrigUnit ())) {
2185
- // Search through Prologue
2186
2185
2187
2186
DWARFDebugLine::LineTable LineTable;
2188
2187
@@ -2441,6 +2440,7 @@ void DWARFLinker::DIECloner::generateLineTableForUnit(CompileUnit &Unit) {
2441
2440
continue ;
2442
2441
}
2443
2442
size_t OrigRowIndex = OrigRowIter->second ;
2443
+
2444
2444
// 2. Get the new row index from the original row index.
2445
2445
auto NewRowIter = OrigRowToNewRow.find (OrigRowIndex);
2446
2446
if (NewRowIter == OrigRowToNewRow.end ()) {
@@ -2454,6 +2454,7 @@ void DWARFLinker::DIECloner::generateLineTableForUnit(CompileUnit &Unit) {
2454
2454
assert (NewRowIter->second < OutputRowOffsets.size () &&
2455
2455
" New row index out of bounds" );
2456
2456
uint64_t NewStmtSeqOffset = OutputRowOffsets[NewRowIter->second ];
2457
+
2457
2458
// 4. Patch the stmt_list attribute with the new offset.
2458
2459
StmtSeq.set (NewStmtSeqOffset);
2459
2460
}
You can’t perform that action at this time.
0 commit comments