<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/DebugInfo/KeyInstructions/flag.cpp, branch users/mingmingl-llvm/samplefdo-profile-format</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[KeyInstr] Enable -gkey-instructions by default if optimisations are enabled (#149509)</title>
<updated>2025-08-27T08:49:40+00:00</updated>
<author>
<name>Orlando Cazalet-Hyams</name>
<email>orlando.hyams@sony.com</email>
</author>
<published>2025-08-27T08:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9d65f7715995e69bf487a7c97523244c4ca5269f'/>
<id>9d65f7715995e69bf487a7c97523244c4ca5269f</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>[KeyInstr] Add release note &amp; update option (#148244)</title>
<updated>2025-07-14T10:21:20+00:00</updated>
<author>
<name>Orlando Cazalet-Hyams</name>
<email>orlando.hyams@sony.com</email>
</author>
<published>2025-07-14T10:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=34bb38ffbf12539bd403794ac2f7c29e50094d5f'/>
<id>34bb38ffbf12539bd403794ac2f7c29e50094d5f</id>
<content type='text'>
Make the option visible, improve the help text, and add a release note.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the option visible, improve the help text, and add a release note.</pre>
</div>
</content>
</entry>
<entry>
<title>[KeyInstr][Clang][NFC] Don't set -dwarf-use-key-instructions (#144115)</title>
<updated>2025-06-30T11:30:35+00:00</updated>
<author>
<name>Orlando Cazalet-Hyams</name>
<email>orlando.hyams@sony.com</email>
</author>
<published>2025-06-30T11:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b29fea6eebae562d9be32f14b8fe79c89ab80292'/>
<id>b29fea6eebae562d9be32f14b8fe79c89ab80292</id>
<content type='text'>
Now PR 144104 has landed the flag is true by default (each DISubprogram tracks
whether or not it's using key instructions).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now PR 144104 has landed the flag is true by default (each DISubprogram tracks
whether or not it's using key instructions).</pre>
</div>
</content>
</entry>
<entry>
<title>[KeyInstr][Clang] Add Clang option -g[no-]key-instructions (#134627)</title>
<updated>2025-05-20T10:22:36+00:00</updated>
<author>
<name>Orlando Cazalet-Hyams</name>
<email>orlando.hyams@sony.com</email>
</author>
<published>2025-05-20T10:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8f03e1a9d5ef4eab0a249f7007dbc1b7b9a0921a'/>
<id>8f03e1a9d5ef4eab0a249f7007dbc1b7b9a0921a</id>
<content type='text'>
This needs to be driver level to pass an -mllvm flag to LLVM, though this may
change soon as the -mllvm flag will soon not be necessary.

Keep the flag help-hidden as the feature is under development.

This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.

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

The feature is only functional in LLVM if LLVM is built with CMake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONs. Eventually that flag will be removed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This needs to be driver level to pass an -mllvm flag to LLVM, though this may
change soon as the -mllvm flag will soon not be necessary.

Keep the flag help-hidden as the feature is under development.

This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.

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

The feature is only functional in LLVM if LLVM is built with CMake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONs. Eventually that flag will be removed.</pre>
</div>
</content>
</entry>
</feed>
