[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


================
@@ -0,0 +1,98 @@
+# RUN: llc %s --start-after=livedebugvalues --dwarf-use-key-instructions --filetype=obj -o - \
+# RUN: | llvm-objdump -d - --no-show-raw-insn \
+# RUN: | FileCheck %s --check-prefix=OBJ
+
+# RUN: llc %s --start-after=livedebugvalues --dwarf-use-key-instructions --filetype=obj -o - \
+# RUN: | llvm-dwarfdump - --debug-line \
+# RUN: | FileCheck %s --check-prefix=DBG
+
+
----------------
jmorse wrote:

Comment as to the intention of the test please (mixing different KI-ness of scopes?)

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


More information about the llvm-commits mailing list