[llvm] [MC] output inlined-at debug info (PR #106230)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 10:57:23 PDT 2024


================
@@ -2056,6 +2056,14 @@ void DwarfDebug::beginInstruction(const MachineInstr *MI) {
     }
   }
 
+  auto RecordSourceLine = [&](auto &DL, auto Flags) {
----------------
Artem-B wrote:

I'd use `DebugLoc` instead of auto here. `DL` in LLVM also commonly used for data layout, so making the time explicit would be helpful here.

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


More information about the llvm-commits mailing list