diff options
author | Orlando Cazalet-Hyams <orlando.hyams@sony.com> | 2025-08-27 09:49:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-27 09:49:40 +0100 |
commit | 9d65f7715995e69bf487a7c97523244c4ca5269f (patch) | |
tree | 705b2116762e3edae4ef66fdfa8557de43acd185 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | b88e5ca5f9a39ecfeef833bf9f712a3419d0218b (diff) | |
download | llvm-9d65f7715995e69bf487a7c97523244c4ca5269f.zip llvm-9d65f7715995e69bf487a7c97523244c4ca5269f.tar.gz llvm-9d65f7715995e69bf487a7c97523244c4ca5269f.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions