aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2025-08-27 09:49:40 +0100
committerGitHub <noreply@github.com>2025-08-27 09:49:40 +0100
commit9d65f7715995e69bf487a7c97523244c4ca5269f (patch)
tree705b2116762e3edae4ef66fdfa8557de43acd185 /clang/lib/AST/ByteCode/Compiler.cpp
parentb88e5ca5f9a39ecfeef833bf9f712a3419d0218b (diff)
downloadllvm-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