<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp, branch main</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>[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>
<entry>
<title>[Symbolizer, DebugInfo] Clean up LLVMSymbolizer API: const string&amp; -&gt; StringRef (#104541)</title>
<updated>2024-08-22T02:53:41+00:00</updated>
<author>
<name>itrofimow</name>
<email>i.trofimow@yandex.ru</email>
</author>
<published>2024-08-22T02:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bf88db78bd80cb624b49510c628ba841fb1fed04'/>
<id>bf88db78bd80cb624b49510c628ba841fb1fed04</id>
<content type='text'>
Nothing in the affected code depends on the `ModuleName` being
null-terminated,
so take it by `StringRef` instead of `const std::string &amp;`.

This change simplifies API consumption, since one doesn't always have a
`std::string` at the call site (might have `std::string_view` instead),
and also gives some minor performance improvements by removing
string-copies in the cache-hit path of `getOrCreateModuleInfo`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Nothing in the affected code depends on the `ModuleName` being
null-terminated,
so take it by `StringRef` instead of `const std::string &amp;`.

This change simplifies API consumption, since one doesn't always have a
`std::string` at the call site (might have `std::string_view` instead),
and also gives some minor performance improvements by removing
string-copies in the cache-hit path of `getOrCreateModuleInfo`.</pre>
</div>
</content>
</entry>
<entry>
<title>[Symbolizer] Support for Missing Line Numbers. (#82240)</title>
<updated>2024-08-05T08:08:34+00:00</updated>
<author>
<name>Amit Kumar Pandey</name>
<email>137622562+ampandey-1995@users.noreply.github.com</email>
</author>
<published>2024-08-05T08:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0886440ef0ed0ad553522b731c841b81dc36944c'/>
<id>0886440ef0ed0ad553522b731c841b81dc36944c</id>
<content type='text'>
LLVM Symbolizer attempt to symbolize addresses of optimized binaries
reports missing line numbers for some cases. It maybe due to compiler
which sometimes cannot map an instruction to line number due to
optimizations. Symbolizer should handle those cases gracefully.

Adding an option '--skip-line-zero' to symbolizer so as to report the
nearest non-zero line number.

---------

Co-authored-by: Amit Pandey &lt;amit.pandey@amd.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LLVM Symbolizer attempt to symbolize addresses of optimized binaries
reports missing line numbers for some cases. It maybe due to compiler
which sometimes cannot map an instruction to line number due to
optimizations. Symbolizer should handle those cases gracefully.

Adding an option '--skip-line-zero' to symbolizer so as to report the
nearest non-zero line number.

---------

Co-authored-by: Amit Pandey &lt;amit.pandey@amd.com&gt;</pre>
</div>
</content>
</entry>
</feed>
