[clang] [llvm] [KeyInstr] Add docs (PR #137991)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 05:27:54 PDT 2025


================
@@ -0,0 +1,160 @@
+# Key Instructions debug info in LLVM and Clang
+
+Key Instructions is an LLVM feature that reduces the jumpiness of optimized code debug stepping by discriminating the significance of instrucions that make up source language statements. This document explains the feature and how it is implemented in [LLVM](#llvm) and [Clang](#clang-and-other-front-ends).
----------------
jmorse wrote:

"distinguishing" instead of "discriminating" perhaps to make it less-word-soupy? Or "ranking the significance"?

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


More information about the llvm-commits mailing list