[llvm] [DWARFLinker] Fix matching logic to remove type 1 missing offsets (PR #149618)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 10:18:43 PDT 2025


================
@@ -413,6 +413,132 @@ static bool isTlsAddressCode(uint8_t DW_OP_Code) {
          DW_OP_Code == dwarf::DW_OP_GNU_push_tls_address;
 }
 
+static void constructSeqOffsettoOrigRowMapping(
+    CompileUnit &Unit, const DWARFDebugLine::LineTable *LT,
----------------
ellishg wrote:

You could make this a reference and call with `*LT` if you think it should always be non-null
```suggestion
    CompileUnit &Unit, const DWARFDebugLine::LineTable &LT,
```

https://github.com/llvm/llvm-project/pull/149618


More information about the llvm-commits mailing list