<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/docs/SourceLevelDebugging.rst, branch users/nico/python-2</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>[LangRef] Clarify definition of fragments (#145582)</title>
<updated>2025-06-25T14:54:51+00:00</updated>
<author>
<name>Scott Linder</name>
<email>scott.linder@amd.com</email>
</author>
<published>2025-06-25T14:54:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c9910d5ef8b7622ce2568a01073d912370f6d3fc'/>
<id>c9910d5ef8b7622ce2568a01073d912370f6d3fc</id>
<content type='text'>
Try to give a more complete description of what we call a "fragment",
and how debug records interact when fragments are involved.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to give a more complete description of what we call a "fragment",
and how debug records interact when fragments are involved.</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Preserve line and column number when merging debug info. (#129960)</title>
<updated>2025-04-04T16:37:25+00:00</updated>
<author>
<name>Snehasish Kumar</name>
<email>snehasishk@google.com</email>
</author>
<published>2025-04-04T16:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f9193f3b18f08547e2f92b5e354a44655bfc1b94'/>
<id>f9193f3b18f08547e2f92b5e354a44655bfc1b94</id>
<content type='text'>
This patch introduces a new option `-preserve-merged-debug-info` to
preserve an arbitrary but deterministic version of debug information
when DILocations are merged. This is intended to be used in production
environments from which sample based profiles are derived such as
AutoFDO and MemProf.

With this patch we have see a 0.2% improvement on an internal workload
at Google when generating AutoFDO profiles. It also significantly
improves the ability for MemProf by preserving debug info for merged
call instructions used in the contextual profile.

---------

Co-authored-by: Krzysztof Pszeniczny &lt;kpszeniczny@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces a new option `-preserve-merged-debug-info` to
preserve an arbitrary but deterministic version of debug information
when DILocations are merged. This is intended to be used in production
environments from which sample based profiles are derived such as
AutoFDO and MemProf.

With this patch we have see a 0.2% improvement on an internal workload
at Google when generating AutoFDO profiles. It also significantly
improves the ability for MemProf by preserving debug info for merged
call instructions used in the contextual profile.

---------

Co-authored-by: Krzysztof Pszeniczny &lt;kpszeniczny@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[Verifier] Require that dbg.declare variable is a ptr (#134355)</title>
<updated>2025-04-04T13:34:45+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2025-04-04T13:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ecd4c0857b69e2c3f592d805bafde8e9f6a19005'/>
<id>ecd4c0857b69e2c3f592d805bafde8e9f6a19005</id>
<content type='text'>
As far as I understand, the first operand of dbg_declare should be a
pointer (inside a metadata wrapper). However, using a non-pointer is
currently not rejected, and we have some tests that use non-pointer
types. As far as I can tell, these tests either meant to use dbg_value
or are just incorrect hand-crafted tests.

Ran into this while trying to `fix` #134008.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As far as I understand, the first operand of dbg_declare should be a
pointer (inside a metadata wrapper). However, using a non-pointer is
currently not rejected, and we have some tests that use non-pointer
types. As far as I can tell, these tests either meant to use dbg_value
or are just incorrect hand-crafted tests.

Ran into this while trying to `fix` #134008.</pre>
</div>
</content>
</entry>
<entry>
<title>[docs] SourceLevelDebugging: fix metadata references (#101187)</title>
<updated>2024-07-30T14:24:07+00:00</updated>
<author>
<name>Michael Buch</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2024-07-30T14:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6b08e4d3ac52c4cccba650d6a8afce61dcb6fb2f'/>
<id>6b08e4d3ac52c4cccba650d6a8afce61dcb6fb2f</id>
<content type='text'>
The metadata was off-by-one in a couple of places, making the
explanatory text incorrect.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The metadata was off-by-one in a couple of places, making the
explanatory text incorrect.</pre>
</div>
</content>
</entry>
<entry>
<title>[RemoveDIs] Update all docs to use debug records (#91768)</title>
<updated>2024-06-11T13:16:32+00:00</updated>
<author>
<name>Stephen Tozer</name>
<email>stephen.tozer@sony.com</email>
</author>
<published>2024-06-11T13:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42'/>
<id>400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42</id>
<content type='text'>
As we approach the state where support for debug intrinsics is dropping and
we print and use debug records by default, the documentation should be updated
to refer to debug records as the primary debug info representation, with
debug intrinsics being relegated to an optional alternative.

This patch performs a few updates:
- Replace references to intrinsics with references to records across all
the documentation.
- Replace intrinsics with records in code examples.
- Move debug records prior to debug intrinsics in the
SourceLevelDebugging document, and change text to refer to them as the
primary representation.
- Add release notes describing the change.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As we approach the state where support for debug intrinsics is dropping and
we print and use debug records by default, the documentation should be updated
to refer to debug records as the primary debug info representation, with
debug intrinsics being relegated to an optional alternative.

This patch performs a few updates:
- Replace references to intrinsics with references to records across all
the documentation.
- Replace intrinsics with records in code examples.
- Move debug records prior to debug intrinsics in the
SourceLevelDebugging document, and change text to refer to them as the
primary representation.
- Add release notes describing the change.</pre>
</div>
</content>
</entry>
<entry>
<title>[RemoveDIs] Add documentation for IR debug records (#81156)</title>
<updated>2024-03-08T15:03:15+00:00</updated>
<author>
<name>Stephen Tozer</name>
<email>stephen.tozer@sony.com</email>
</author>
<published>2024-03-08T15:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=01e5d4609bed5db52890cb66a91c65e9bb6a122f'/>
<id>01e5d4609bed5db52890cb66a91c65e9bb6a122f</id>
<content type='text'>
This patch adds minimal documentation for the IR representation of the
RemoveDIs model of debug info. This patch assumes
that the default for all cases is still debug intrinsic functions, and
so does not update all existing text to refer to debug records, but only
adds a section in the LangRef and SourceLevelDebugging documents to
explain the new format.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds minimal documentation for the IR representation of the
RemoveDIs model of debug info. This patch assumes
that the default for all cases is still debug intrinsic functions, and
so does not update all existing text to refer to debug records, but only
adds a section in the LangRef and SourceLevelDebugging documents to
explain the new format.</pre>
</div>
</content>
</entry>
<entry>
<title>[docs] Fix issues in SourceLevelDebugging (#73528)</title>
<updated>2023-11-27T23:27:58+00:00</updated>
<author>
<name>Felipe de Azevedo Piovezan</name>
<email>fpiovezan@apple.com</email>
</author>
<published>2023-11-27T23:27:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eae1811e4f0431ea6336e68a38318a55f7529ef6'/>
<id>eae1811e4f0431ea6336e68a38318a55f7529ef6</id>
<content type='text'>
An SSA register `value` was being defined twice.
An "external" link was using the "internal" link syntax.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An SSA register `value` was being defined twice.
An "external" link was using the "internal" link syntax.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Fix typos in documentation</title>
<updated>2023-05-13T06:47:46+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2023-05-13T06:47:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=96ddbd6dd85f9bc27fc3bc101411c7928a0c2756'/>
<id>96ddbd6dd85f9bc27fc3bc101411c7928a0c2756</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix docs bot after D140989</title>
<updated>2023-04-26T09:52:06+00:00</updated>
<author>
<name>OCHyams</name>
<email>orlando.hyams@sony.com</email>
</author>
<published>2023-04-26T09:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a0183c205c07a0fa8e690e5826a580e79812cd3f'/>
<id>a0183c205c07a0fa8e690e5826a580e79812cd3f</id>
<content type='text'>
Commit a93c4239719382e5b17335f3452e9095937ed6b7 broke docs buildbot:
https://lab.llvm.org/buildbot/#/builders/30/builds/34525
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit a93c4239719382e5b17335f3452e9095937ed6b7 broke docs buildbot:
https://lab.llvm.org/buildbot/#/builders/30/builds/34525
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Update SourceLevelDebugging.rst to better explain kill locations</title>
<updated>2023-04-26T09:31:54+00:00</updated>
<author>
<name>OCHyams</name>
<email>orlando.hyams@sony.com</email>
</author>
<published>2023-04-26T09:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a93c4239719382e5b17335f3452e9095937ed6b7'/>
<id>a93c4239719382e5b17335f3452e9095937ed6b7</id>
<content type='text'>
Reviewed By: scott.linder, jryans

Differential Revision: https://reviews.llvm.org/D140989
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed By: scott.linder, jryans

Differential Revision: https://reviews.llvm.org/D140989
</pre>
</div>
</content>
</entry>
</feed>
