[all-commits] [llvm/llvm-project] e7547b: [KeyInstr][DwarfDebug] Add is_stmt emission suppor...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue May 13 09:26:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7547b25f594eda1325f7e9e0adb364faf5d4db1
      https://github.com/llvm/llvm-project/commit/e7547b25f594eda1325f7e9e0adb364faf5d4db1
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
    A llvm/test/DebugInfo/KeyInstructions/X86/dwarf-basic-ranks.ll
    A llvm/test/DebugInfo/KeyInstructions/X86/dwarf-basic.ll
    A llvm/test/DebugInfo/KeyInstructions/X86/dwarf-buoy-multi-key.mir
    A llvm/test/DebugInfo/KeyInstructions/X86/dwarf-buoy.mir
    A llvm/test/DebugInfo/KeyInstructions/X86/dwarf-calls.ll
    A llvm/test/DebugInfo/KeyInstructions/X86/dwarf-ranks-blocks.ll

  Log Message:
  -----------
  [KeyInstr][DwarfDebug] Add is_stmt emission support (#133495)

Interpret Key Instructions metadata to determine is_stmt placement.

The lowest rank (highest precedent) instructions in each {InlinedAt, atomGroup}
set are candidates for is_stmt. Only the last instruction in each set in a given
block gets is_stmt. Calls always get is_stmt.

RFC: https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list