<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/DebugInfo/Symbolize, branch users/nico/python-1</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>Rename GsymDIContext to GsymContext (#140227)</title>
<updated>2025-05-16T17:18:21+00:00</updated>
<author>
<name>Mariusz Kwiczala</name>
<email>70530507+sfc-gh-mkwiczala@users.noreply.github.com</email>
</author>
<published>2025-05-16T17:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=85fe4ab8a3faa58317c247051df2195c89bed0fa'/>
<id>85fe4ab8a3faa58317c247051df2195c89bed0fa</id>
<content type='text'>
Renaming based on suggestion here: 
https://github.com/llvm/llvm-project/pull/139686#discussion_r2089538528</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renaming based on suggestion here: 
https://github.com/llvm/llvm-project/pull/139686#discussion_r2089538528</pre>
</div>
</content>
</entry>
<entry>
<title>LLVM symbolizer gsym support - attempt 2 (#139686)</title>
<updated>2025-05-13T15:27:05+00:00</updated>
<author>
<name>Mariusz Kwiczala</name>
<email>70530507+sfc-gh-mkwiczala@users.noreply.github.com</email>
</author>
<published>2025-05-13T15:27:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f4b80b9109a65bd85f1f62d47cfc9f9395e1b5cc'/>
<id>f4b80b9109a65bd85f1f62d47cfc9f9395e1b5cc</id>
<content type='text'>
Add support for gsym files to llvm-symbolizer.

co-author @sfc-gh-sgiesecke

Notes:
There was a PR that was 
approved and merged: https://github.com/llvm/llvm-project/pull/134847 
and reverted: https://github.com/llvm/llvm-project/pull/139660
Due to buildbot failures:
https://lab.llvm.org/buildbot/#/builders/66/builds/13851 - it looks like
related
https://lab.llvm.org/buildbot/#/builders/51/builds/16018 - it looks like
related
https://lab.llvm.org/buildbot/#/builders/146/builds/2905 - it looks like
it's not related to changes

Fix:
To fix missing GSYM symbols 
```
+ diff -u expected.new undefined.new
+_ZN4llvm4gsym10GsymReader8openFileENS_9StringRefE U
+_ZN4llvm4gsym10GsymReaderC1EOS1_ U
+_ZN4llvm4gsym10GsymReaderD1Ev U
+_ZN4llvm4gsym13GsymDIContextC1ENSt20__InternalSymbolizer10unique_ptrINS0_10GsymReaderENS2_14default_deleteIS4_EEEE U
+ echo 'Failed: unexpected symbols'
```
for script
compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
LLVMDebugInfoGSYM was added. 
Please check the commit:

https://github.com/llvm/llvm-project/pull/139686/commits/ba55425db9fd8fd1ebb06a4c8d8c95eef213444f
That's the only change compare to
https://github.com/llvm/llvm-project/pull/134847</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for gsym files to llvm-symbolizer.

co-author @sfc-gh-sgiesecke

Notes:
There was a PR that was 
approved and merged: https://github.com/llvm/llvm-project/pull/134847 
and reverted: https://github.com/llvm/llvm-project/pull/139660
Due to buildbot failures:
https://lab.llvm.org/buildbot/#/builders/66/builds/13851 - it looks like
related
https://lab.llvm.org/buildbot/#/builders/51/builds/16018 - it looks like
related
https://lab.llvm.org/buildbot/#/builders/146/builds/2905 - it looks like
it's not related to changes

Fix:
To fix missing GSYM symbols 
```
+ diff -u expected.new undefined.new
+_ZN4llvm4gsym10GsymReader8openFileENS_9StringRefE U
+_ZN4llvm4gsym10GsymReaderC1EOS1_ U
+_ZN4llvm4gsym10GsymReaderD1Ev U
+_ZN4llvm4gsym13GsymDIContextC1ENSt20__InternalSymbolizer10unique_ptrINS0_10GsymReaderENS2_14default_deleteIS4_EEEE U
+ echo 'Failed: unexpected symbols'
```
for script
compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
LLVMDebugInfoGSYM was added. 
Please check the commit:

https://github.com/llvm/llvm-project/pull/139686/commits/ba55425db9fd8fd1ebb06a4c8d8c95eef213444f
That's the only change compare to
https://github.com/llvm/llvm-project/pull/134847</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "LLVM symbolizer gsym support" (#139660)</title>
<updated>2025-05-13T02:43:00+00:00</updated>
<author>
<name>Qinkun Bao</name>
<email>qinkun@google.com</email>
</author>
<published>2025-05-13T02:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=52ed6791f87a3ef862f555f84ba88a7cdf8fe461'/>
<id>52ed6791f87a3ef862f555f84ba88a7cdf8fe461</id>
<content type='text'>
Reverts llvm/llvm-project#134847</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#134847</pre>
</div>
</content>
</entry>
<entry>
<title>LLVM symbolizer gsym support (#134847)</title>
<updated>2025-05-12T21:39:31+00:00</updated>
<author>
<name>Mariusz Kwiczala</name>
<email>70530507+sfc-gh-mkwiczala@users.noreply.github.com</email>
</author>
<published>2025-05-12T21:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d896e2883e6f6b6266fa745ab758adc351778a89'/>
<id>d896e2883e6f6b6266fa745ab758adc351778a89</id>
<content type='text'>
Add support for gsym files to llvm-symbolizer.

co-author @sfc-gh-sgiesecke

---------

Co-authored-by: David Blaikie &lt;dblaikie@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for gsym files to llvm-symbolizer.

co-author @sfc-gh-sgiesecke

---------

Co-authored-by: David Blaikie &lt;dblaikie@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Use StringRef::starts_with (NFC) (#135933)</title>
<updated>2025-04-16T15:38:16+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-04-16T15:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=842bc07946e7ac71692ae235e784b9bc6c3d6535'/>
<id>842bc07946e7ac71692ae235e784b9bc6c3d6535</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][LLVM] Apply std::move to object being pushed back in findSymbolCommon (#135290)</title>
<updated>2025-04-11T22:49:01+00:00</updated>
<author>
<name>Shafik Yaghmour</name>
<email>shafik.yaghmour@intel.com</email>
</author>
<published>2025-04-11T22:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eb68b914dd7f1926daf9cfab19b85765f2a60700'/>
<id>eb68b914dd7f1926daf9cfab19b85765f2a60700</id>
<content type='text'>
Static analysis found that we could move LineInfo into the Result vector
instead of just copying it.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Static analysis found that we could move LineInfo into the Result vector
instead of just copying it.</pre>
</div>
</content>
</entry>
<entry>
<title>[Symbolize] Always use filename:line from debug info when debug info for the given address is available. (#128619)</title>
<updated>2025-03-25T20:09:23+00:00</updated>
<author>
<name>Zequan Wu</name>
<email>zequanwu@google.com</email>
</author>
<published>2025-03-25T20:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=535b28444f8e1284583c3771eaf64e1e27bbcb28'/>
<id>535b28444f8e1284583c3771eaf64e1e27bbcb28</id>
<content type='text'>
To reland https://github.com/llvm/llvm-project/pull/124846, we need to
make symbolizer consistent with the case when line number is 0. Always
using filename and line from debug info even if the line number is 0
sounds like the reasonable path to go.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To reland https://github.com/llvm/llvm-project/pull/124846, we need to
make symbolizer consistent with the case when line number is 0. Always
using filename and line from debug info even if the line number is 0
sounds like the reasonable path to go.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][DebugInfo] Wrap DILineInfo return type with std::optional to handle missing debug info. (#129792)</title>
<updated>2025-03-17T21:01:06+00:00</updated>
<author>
<name>Zequan Wu</name>
<email>zequanwu@google.com</email>
</author>
<published>2025-03-17T21:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6dbe82f061bf494bc91ed458726c8080269f64f6'/>
<id>6dbe82f061bf494bc91ed458726c8080269f64f6</id>
<content type='text'>
Currently, `DIContext::getLineInfoForAddress` and
`DIContext::getLineInfoForDataAddress` returns empty DILineInfo when the
debug info is missing for the given address. This is not differentiable
with the case when debug info is found for the given address but the
debug info is default value (filename:linenum is &lt;invalid&gt;:0).

This change wraps the return types of `DIContext::getLineInfoForAddress`
and `DIContext::getLineInfoForDataAddress` with `std::optional`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, `DIContext::getLineInfoForAddress` and
`DIContext::getLineInfoForDataAddress` returns empty DILineInfo when the
debug info is missing for the given address. This is not differentiable
with the case when debug info is found for the given address but the
debug info is default value (filename:linenum is &lt;invalid&gt;:0).

This change wraps the return types of `DIContext::getLineInfoForAddress`
and `DIContext::getLineInfoForDataAddress` with `std::optional`.</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Clean up LLVMSymbolizer::DemangleName API: const string&amp; -&gt; StringRef (#118056)</title>
<updated>2024-11-29T11:25:14+00:00</updated>
<author>
<name>itrofimow</name>
<email>i.trofimow@yandex.ru</email>
</author>
<published>2024-11-29T11:25:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0d1d1b363d9588c192152cec4f256f3edfea7e48'/>
<id>0d1d1b363d9588c192152cec4f256f3edfea7e48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Remove unused includes (NFC) (#116551)</title>
<updated>2024-11-17T18:37:33+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-11-17T18:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0060c54e0da6d1429875da2d30895faa7562b706'/>
<id>0060c54e0da6d1429875da2d30895faa7562b706</id>
<content type='text'>
Identified with misc-include-cleaner.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified with misc-include-cleaner.</pre>
</div>
</content>
</entry>
</feed>
