<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/CodeGen/debug-label-inline.c, 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> [RemoveDIs] Print IR with debug records by default (#91724)</title>
<updated>2024-06-14T14:07:27+00:00</updated>
<author>
<name>Stephen Tozer</name>
<email>stephen.tozer@sony.com</email>
</author>
<published>2024-06-14T14:07:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=094572701dce4aaf36f4521d6cf750420d39f206'/>
<id>094572701dce4aaf36f4521d6cf750420d39f206</id>
<content type='text'>
This patch makes the final major change of the RemoveDIs project, changing the
default IR output from debug intrinsics to debug records. This is expected to
break a large number of tests: every single one that tests for uses or
declarations of debug intrinsics and does not explicitly disable writing
records. 

If this patch has broken your downstream tests (or upstream tests on a
configuration I wasn't able to run):
1. If you need to immediately unblock a build, pass
`--write-experimental-debuginfo=false` to LLVM's option processing for all
failing tests (remember to use `-mllvm` for clang/flang to forward arguments to
LLVM).
2. For most test failures, the changes are trivial and mechanical, enough that
they can be done by script; see the migration guide for a guide on how to do
this: https://llvm.org/docs/RemoveDIsDebugInfo.html#test-updates
3. If any tests fail for reasons other than FileCheck check lines that need
updating, such as assertion failures, that is most likely a real bug with this
patch and should be reported as such.

For more information, see the recent PSA:
https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes the final major change of the RemoveDIs project, changing the
default IR output from debug intrinsics to debug records. This is expected to
break a large number of tests: every single one that tests for uses or
declarations of debug intrinsics and does not explicitly disable writing
records. 

If this patch has broken your downstream tests (or upstream tests on a
configuration I wasn't able to run):
1. If you need to immediately unblock a build, pass
`--write-experimental-debuginfo=false` to LLVM's option processing for all
failing tests (remember to use `-mllvm` for clang/flang to forward arguments to
LLVM).
2. For most test failures, the changes are trivial and mechanical, enough that
they can be done by script; see the migration guide for a guide on how to do
this: https://llvm.org/docs/RemoveDIsDebugInfo.html#test-updates
3. If any tests fail for reasons other than FileCheck check lines that need
updating, such as assertion failures, that is most likely a real bug with this
patch and should be reported as such.

For more information, see the recent PSA:
https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578</pre>
</div>
</content>
</entry>
<entry>
<title>Reland r345009 "[DebugInfo] Generate debug information for labels."</title>
<updated>2019-01-24T05:34:29+00:00</updated>
<author>
<name>Hsiangkai Wang</name>
<email>hsiangkai@gmail.com</email>
</author>
<published>2019-01-24T05:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3575149092ee3b87d063b006dc947263603ec164'/>
<id>3575149092ee3b87d063b006dc947263603ec164</id>
<content type='text'>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.
After fixing NULL symbol problems in AddressPool when enabling
split-dwarf-file.
After fixing PR39094.
After landing D54199 and D54465 to fix Chromium build failed.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 352025
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.
After fixing NULL symbol problems in AddressPool when enabling
split-dwarf-file.
After fixing PR39094.
After landing D54199 and D54465 to fix Chromium build failed.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 352025
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert r345009 "[DebugInfo] Generate debug information for labels. (After fix PR39094)"</title>
<updated>2018-10-23T13:17:13+00:00</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@hanshq.net</email>
</author>
<published>2018-10-23T13:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=022cb5bd25aabc5734c8f1c86c3ceb7907d3775a'/>
<id>022cb5bd25aabc5734c8f1c86c3ceb7907d3775a</id>
<content type='text'>
This broke the Chromium build. See
https://bugs.chromium.org/p/chromium/issues/detail?id=898152#c1 for the
reproducer.

&gt; Generate DILabel metadata and call llvm.dbg.label after label
&gt; statement to associate the metadata with the label.
&gt;
&gt; After fixing PR37395.
&gt; After fixing problems in LiveDebugVariables.
&gt; After fixing NULL symbol problems in AddressPool when enabling
&gt; split-dwarf-file.
&gt; After fixing PR39094.
&gt;
&gt; Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 345026
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke the Chromium build. See
https://bugs.chromium.org/p/chromium/issues/detail?id=898152#c1 for the
reproducer.

&gt; Generate DILabel metadata and call llvm.dbg.label after label
&gt; statement to associate the metadata with the label.
&gt;
&gt; After fixing PR37395.
&gt; After fixing problems in LiveDebugVariables.
&gt; After fixing NULL symbol problems in AddressPool when enabling
&gt; split-dwarf-file.
&gt; After fixing PR39094.
&gt;
&gt; Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 345026
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Generate debug information for labels. (After fix PR39094)</title>
<updated>2018-10-23T08:06:21+00:00</updated>
<author>
<name>Hsiangkai Wang</name>
<email>hsiangkai@gmail.com</email>
</author>
<published>2018-10-23T08:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=63b099050c890ca7a29e369ae25aa42d286fe5dd'/>
<id>63b099050c890ca7a29e369ae25aa42d286fe5dd</id>
<content type='text'>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.
After fixing NULL symbol problems in AddressPool when enabling
split-dwarf-file.
After fixing PR39094.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 345009
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.
After fixing NULL symbol problems in AddressPool when enabling
split-dwarf-file.
After fixing PR39094.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 345009
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[DebugInfo] Generate debug information for labels."</title>
<updated>2018-09-27T08:15:24+00:00</updated>
<author>
<name>Vitaly Buka</name>
<email>vitalybuka@google.com</email>
</author>
<published>2018-09-27T08:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=84ffd06f8bdc18302cdd134ea22b7071adddb0a4'/>
<id>84ffd06f8bdc18302cdd134ea22b7071adddb0a4</id>
<content type='text'>
This reverts commit r343148.

It crashes on sanitizer-x86_64-linux-autoconf.

llvm-svn: 343183
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit r343148.

It crashes on sanitizer-x86_64-linux-autoconf.

llvm-svn: 343183
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Generate debug information for labels.</title>
<updated>2018-09-26T22:18:45+00:00</updated>
<author>
<name>Hsiangkai Wang</name>
<email>hsiangkai@gmail.com</email>
</author>
<published>2018-09-26T22:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=705121aaae812179857c4c359628823738993757'/>
<id>705121aaae812179857c4c359628823738993757</id>
<content type='text'>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.
After fixing NULL symbol problems in AddressPool when enabling
split-dwarf-file.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 343148
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.
After fixing NULL symbol problems in AddressPool when enabling
split-dwarf-file.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 343148
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[DebugInfo] Generate debug information for labels. (Fix PR37395)"</title>
<updated>2018-09-06T14:27:40+00:00</updated>
<author>
<name>Sam McCall</name>
<email>sam.mccall@gmail.com</email>
</author>
<published>2018-09-06T14:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=026d8a20ec5482355aea703b27400902998a105a'/>
<id>026d8a20ec5482355aea703b27400902998a105a</id>
<content type='text'>
This reverts commit r341519, which generates debug info that causes
backend crashes. (with -split-dwarf-file)

Details in https://reviews.llvm.org/D50495

llvm-svn: 341549
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit r341519, which generates debug info that causes
backend crashes. (with -split-dwarf-file)

Details in https://reviews.llvm.org/D50495

llvm-svn: 341549
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Generate debug information for labels. (Fix PR37395)</title>
<updated>2018-09-06T06:03:36+00:00</updated>
<author>
<name>Hsiangkai Wang</name>
<email>hsiangkai@gmail.com</email>
</author>
<published>2018-09-06T06:03:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0a875b2f15b1285d36d1d9ce92404f75bd10e99a'/>
<id>0a875b2f15b1285d36d1d9ce92404f75bd10e99a</id>
<content type='text'>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 341519
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.
After fixing problems in LiveDebugVariables.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 341519
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[DebugInfo] Generate debug information for labels. (Fix PR37395)"</title>
<updated>2018-08-06T07:07:18+00:00</updated>
<author>
<name>Hsiangkai Wang</name>
<email>hsiangkai@gmail.com</email>
</author>
<published>2018-08-06T07:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ea1b0e09606eb7bbf808b786d8a39d0f0a616e28'/>
<id>ea1b0e09606eb7bbf808b786d8a39d0f0a616e28</id>
<content type='text'>
Build failed in
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-autoconf/builds/27258

In lib/CodeGen/LiveDebugVariables.cpp:589, it uses std::prev(MBBI) to
get DebugValue's SlotIndex. however, the previous instruction may be
also a debug instruction.

llvm-svn: 338992
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Build failed in
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-autoconf/builds/27258

In lib/CodeGen/LiveDebugVariables.cpp:589, it uses std::prev(MBBI) to
get DebugValue's SlotIndex. however, the previous instruction may be
also a debug instruction.

llvm-svn: 338992
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Generate debug information for labels. (Fix PR37395)</title>
<updated>2018-08-06T05:58:59+00:00</updated>
<author>
<name>Hsiangkai Wang</name>
<email>hsiangkai@gmail.com</email>
</author>
<published>2018-08-06T05:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3bec3abf3877c2187582b18cdd0c4a88415139ed'/>
<id>3bec3abf3877c2187582b18cdd0c4a88415139ed</id>
<content type='text'>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 338989
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate DILabel metadata and call llvm.dbg.label after label
statement to associate the metadata with the label.

After fixing PR37395.

Differential Revision: https://reviews.llvm.org/D45045

llvm-svn: 338989
</pre>
</div>
</content>
</entry>
</feed>
