[llvm] [KeyInstr] Use DISubprogram's is-key-instructions-on flag at DWARF emission (PR #144104)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 23 04:27:04 PDT 2025


================
@@ -2077,8 +2079,17 @@ void DwarfDebug::beginInstruction(const MachineInstr *MI) {
   unsigned LastAsmLine =
       Asm->OutStreamer->getContext().getCurrentDwarfLoc().getLine();
 
+  // Not-Key-Instructions functions inlined into Key Instructions functions
+  // should use default is_stmt handling. Key Instructions functions inlined
----------------
jmorse wrote:

I think the word "default" here is liable to become stale, is there another phrase we can use or invent? Keyless?

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


More information about the llvm-commits mailing list