Skip to content

Commit 6e2bab7

Browse files
committed
Organize types
1 parent 463956a commit 6e2bab7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ static void constructSeqOffsettoOrigRowMapping(
431431
return A.get() < B.get();
432432
});
433433

434-
std::vector<size_t> SeqStartRows;
434+
std::vector<unsigned> SeqStartRows;
435435
SeqStartRows.push_back(0);
436436
for (auto [I, Row] : llvm::enumerate(ArrayRef(LT.Rows).drop_back()))
437437
if (Row.EndSequence)
@@ -471,7 +471,7 @@ static void constructSeqOffsettoOrigRowMapping(
471471

472472
// Dummy last element to make sure StmtAttrsRef and SeqStartRowsRef always
473473
// run out first.
474-
constexpr size_t DummyKey = UINT64_MAX;
474+
constexpr uint64_t DummyKey = UINT64_MAX;
475475
constexpr unsigned DummyVal = UINT32_MAX;
476476
LineTableMapping[DummyKey] = DummyVal;
477477

@@ -481,7 +481,7 @@ static void constructSeqOffsettoOrigRowMapping(
481481
auto StmtAttrSmallerThanNext = [N = NextSeqOff](const PatchLocation &SA) {
482482
return SA.get() < N;
483483
};
484-
auto SeqStartSmallerThanNext = [N = NextRow](const uint64_t &Row) {
484+
auto SeqStartSmallerThanNext = [N = NextRow](const unsigned &Row) {
485485
return Row < N;
486486
};
487487
// If both StmtAttrs and SeqStartRows points to value not in

0 commit comments

Comments
 (0)