Skip to content

Commit 2e356a4

Browse files
committed
fix format
1 parent 6b90407 commit 2e356a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)