[llvm-branch-commits] [llvm] [KeyInstr][DwarfDebug] Add is_stmt emission support (PR #133495)

Jeremy Morse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 23 08:16:31 PDT 2025


================
@@ -701,6 +705,11 @@ class DwarfDebug : public DebugHandlerBase {
 
   void findForceIsStmtInstrs(const MachineFunction *MF);
 
+  /// Find instructions which should get is_stmt applied because they implement
+  /// key functionality for a source atom, store results in
+  /// DwarfDebug::KeyInstructions.
----------------
jmorse wrote:

Wording nit; I'd prefer "Compute instructions which should..." because it's not a pure matter of searching, it's a substantive exploration of... stuff? I guess there's a lattice involved if we think about it hard enough.

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


More information about the llvm-branch-commits mailing list