<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Object/SymbolSize.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>[Symbolizer][WebAssembly] Use wasm-specific getSymbolSize (#82083)</title>
<updated>2024-02-23T03:41:15+00:00</updated>
<author>
<name>Derek Schuff</name>
<email>dschuff@chromium.org</email>
</author>
<published>2024-02-23T03:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ca09e08239008759f92f4aff39c7640da3e1bfa9'/>
<id>ca09e08239008759f92f4aff39c7640da3e1bfa9</id>
<content type='text'>
getSymbolSize was recently added to WasmObjectFile and has correct sizes 
for most symbol types. This makes llvm-symbolizer correctly symbolize
addresses in the middle of the symbol.

When reworking the test I also noticed that the DWARF info seems to be
wrong for the first instruction in each function. I noted that in the test
comments but didn't attempt to fix here.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
getSymbolSize was recently added to WasmObjectFile and has correct sizes 
for most symbol types. This makes llvm-symbolizer correctly symbolize
addresses in the middle of the symbol.

When reworking the test I also noticed that the DWARF info seems to be
wrong for the first instruction in each function. I noted that in the test
comments but didn't attempt to fix here.</pre>
</div>
</content>
</entry>
<entry>
<title>nfc, address post commit comments related to code format for 581c64a</title>
<updated>2023-10-18T08:45:24+00:00</updated>
<author>
<name>Chen Zheng</name>
<email>czhengsz@cn.ibm.com</email>
</author>
<published>2023-10-18T08:45:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8c369eb4965a1799960872cd65e85b284b97784c'/>
<id>8c369eb4965a1799960872cd65e85b284b97784c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[XCOFF][OBJECT] get symbol size by calling XCOFF interfaces (#67304)</title>
<updated>2023-10-12T03:16:01+00:00</updated>
<author>
<name>Chen Zheng</name>
<email>czhengsz@cn.ibm.com</email>
</author>
<published>2023-10-12T03:16:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd'/>
<id>1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd</id>
<content type='text'>
Computing the symbol size as the gap between sorted symbols are not
right for XCOFF.

For XCOFF, the size info is stored in aux symbol and can be got from
existing XCOFF interface `getSymbolSize()`.
This patch changes XCOFFObjectFile to call this API to get sizes for
symbols.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Computing the symbol size as the gap between sorted symbols are not
right for XCOFF.

For XCOFF, the size info is stored in aux symbol and can be got from
existing XCOFF interface `getSymbolSize()`.
This patch changes XCOFFObjectFile to call this API to get sizes for
symbols.</pre>
</div>
</content>
</entry>
<entry>
<title>[Object] Fix grammar mistake in the comment</title>
<updated>2023-07-31T15:45:22+00:00</updated>
<author>
<name>Steven Wu</name>
<email>stevenwu@apple.com</email>
</author>
<published>2023-07-31T15:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cce35994bb7294d273478b5756f760c4137e1194'/>
<id>cce35994bb7294d273478b5756f760c4137e1194</id>
<content type='text'>
Update comment in previous commit from D156603.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update comment in previous commit from D156603.
</pre>
</div>
</content>
</entry>
<entry>
<title>[SymbolSize] Improve the performance of SymbolSize computation</title>
<updated>2023-07-30T19:15:02+00:00</updated>
<author>
<name>Steven Wu</name>
<email>stevenwu@apple.com</email>
</author>
<published>2023-07-30T19:14:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f5974e80653db977913bceffca7e900e818ef872'/>
<id>f5974e80653db977913bceffca7e900e818ef872</id>
<content type='text'>
The current algorithm to compute the symbol size is quadratic if there
are lots of symbols sharing the same addresses. This happens in a debug
build when lots of debug symbols get emitted in the symtab.

This patch improves the performance like `llvm-symbolizer` that relies
on the symbol size computation. Symbolizing a release+assert clang with
DebugInfo sees significant improvements from 3:40min to less than 1s.

Reviewed By: pete, mehdi_amini, arsenm, MaskRay

Differential Revision: https://reviews.llvm.org/D156603
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current algorithm to compute the symbol size is quadratic if there
are lots of symbols sharing the same addresses. This happens in a debug
build when lots of debug symbols get emitted in the symtab.

This patch improves the performance like `llvm-symbolizer` that relies
on the symbol size computation. Symbolizing a release+assert clang with
DebugInfo sees significant improvements from 3:40min to less than 1s.

Reviewed By: pete, mehdi_amini, arsenm, MaskRay

Differential Revision: https://reviews.llvm.org/D156603
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-objdump][XCOFF] Enable the -l (--line-numbers) option.</title>
<updated>2021-06-10T04:37:06+00:00</updated>
<author>
<name>Esme-Yi</name>
<email>esme.yi@ibm.com</email>
</author>
<published>2021-06-10T04:37:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8a23f74eb79f85879507809553555892673a9c01'/>
<id>8a23f74eb79f85879507809553555892673a9c01</id>
<content type='text'>
Summary: Add support for dumping line number
information for XCOFF object files in llvm-objdump.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D101272
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: Add support for dumping line number
information for XCOFF object files in llvm-objdump.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D101272
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use *::empty (NFC)</title>
<updated>2021-01-16T17:40:55+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2021-01-16T17:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2082b10d100e8dbaffc2ba8f497db5d2ab61beb2'/>
<id>2082b10d100e8dbaffc2ba8f497db5d2ab61beb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Object] Change ObjectFile::getSymbolValue() return type to Expected&lt;uint64_t&gt;</title>
<updated>2020-05-02T06:04:44+00:00</updated>
<author>
<name>Xing GUO</name>
<email>higuoxing@gmail.com</email>
</author>
<published>2020-05-02T06:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ff6a0b6a8ee74693e9711973028a8a327adf9cd5'/>
<id>ff6a0b6a8ee74693e9711973028a8a327adf9cd5</id>
<content type='text'>
Summary:
In D77860, we have changed `getSymbolFlags()` return type to `Expected&lt;uint32_t&gt;`.
This change helps bubble the error further up the stack.

Reviewers: jhenderson, grimar, JDevlieghere, MaskRay

Reviewed By: jhenderson

Subscribers: hiraditya, MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79075
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
In D77860, we have changed `getSymbolFlags()` return type to `Expected&lt;uint32_t&gt;`.
This change helps bubble the error further up the stack.

Reviewers: jhenderson, grimar, JDevlieghere, MaskRay

Reviewed By: jhenderson

Subscribers: hiraditya, MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79075
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Fix unused variable warning.</title>
<updated>2020-01-29T01:19:23+00:00</updated>
<author>
<name>Nate Voorhies</name>
<email>ncv@google.com</email>
</author>
<published>2020-01-29T00:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a40b3e3b61a0603445358eb87b56e24df19e40de'/>
<id>a40b3e3b61a0603445358eb87b56e24df19e40de</id>
<content type='text'>
Reviewers: dschuff

Reviewed By: dschuff

Subscribers: hiraditya, aheejin, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73591
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: dschuff

Reviewed By: dschuff

Subscribers: hiraditya, aheejin, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73591
</pre>
</div>
</content>
</entry>
<entry>
<title>[WebAssembly] Add WebAssembly support to llvm-symbolizer</title>
<updated>2020-01-28T17:55:38+00:00</updated>
<author>
<name>Derek Schuff</name>
<email>dschuff@chromium.org</email>
</author>
<published>2020-01-23T01:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=da6a896e6b1b1e397297b08a565940f1e0391cb7'/>
<id>da6a896e6b1b1e397297b08a565940f1e0391cb7</id>
<content type='text'>
The only thing missing for basic llvm-symbolizer support is the ability on
lib/Object to get a wasm symbol's section ID, which allows sorting and
computation of the symbols' sizes.

Also, when the WasmAsmParser switches sections on new functions, also add the
section to the list of Dwarf sections if Dwarf is being generated for assembly;
this allows writing of simple tests.

Reviewers: sbc100, jhenderson, aardappel

Differential Revision: https://reviews.llvm.org/D73246
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only thing missing for basic llvm-symbolizer support is the ability on
lib/Object to get a wasm symbol's section ID, which allows sorting and
computation of the symbols' sizes.

Also, when the WasmAsmParser switches sections on new functions, also add the
section to the list of Dwarf sections if Dwarf is being generated for assembly;
this allows writing of simple tests.

Reviewers: sbc100, jhenderson, aardappel

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