[all-commits] [llvm/llvm-project] 9d65f7: [KeyInstr] Enable -gkey-instructions by default if...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Wed Aug 27 01:50:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d65f7715995e69bf487a7c97523244c4ca5269f
https://github.com/llvm/llvm-project/commit/9d65f7715995e69bf487a7c97523244c4ca5269f
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-08-27 (Wed, 27 Aug 2025)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/DebugInfo/KeyInstructions/flag.cpp
Log Message:
-----------
[KeyInstr] Enable -gkey-instructions by default if optimisations are enabled (#149509)
That's enabling Clang's -gkey-instructions, cc1's -gkey-instructions
remains off by default.
Key Instructions improves the optimized-code debug-stepping experience
in debuggers that use DWARF's `is_stmt` line table register to determine
stepping behaviour.
The feature can be disabled with -gno-key-instructions (note that the
positive and negative flag both imply -g).
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