<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/lld, branch users/arsenm/tools-remove-plugin-loader-includes</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>Revert failing test cases</title>
<updated>2025-11-11T23:55:58+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2024-11-26T17:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7b7b462a8fbc6965e347d3f8d9fad0e951d5f868'/>
<id>7b7b462a8fbc6965e347d3f8d9fad0e951d5f868</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Remove unused PluginLoader includes</title>
<updated>2025-11-11T23:55:56+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2024-11-25T23:26:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=df04182d6c1aba4be50e25b69c15a5845d7d36e0'/>
<id>df04182d6c1aba4be50e25b69c15a5845d7d36e0</id>
<content type='text'>
As far as I can tell there are 2 parallel plugin mechanisms.
opt -load=plugin does not work, and is ignored. opt -load-pass-plugin
does work. The only user of PluginLoader appears to be bugpoint.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As far as I can tell there are 2 parallel plugin mechanisms.
opt -load=plugin does not work, and is ignored. opt -load-pass-plugin
does work. The only user of PluginLoader appears to be bugpoint.
</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][macho] Fix segfault while processing malformed object file. (#167025)</title>
<updated>2025-11-11T22:27:03+00:00</updated>
<author>
<name>Prabhu Rajasekaran</name>
<email>prabhukr@google.com</email>
</author>
<published>2025-11-11T22:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=abb8c4ba60f6512b63eba1cfc5723248a2e8d635'/>
<id>abb8c4ba60f6512b63eba1cfc5723248a2e8d635</id>
<content type='text'>
Ran into a use case where we had a MachO object file with a section
symbol which did not have a section associated with it segfaults during
linking. This patch aims to handle such cases gracefully and avoid the
linker from crashing.

---------

Co-authored-by: Ellis Hoag &lt;ellis.sparky.hoag@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ran into a use case where we had a MachO object file with a section
symbol which did not have a section associated with it segfaults during
linking. This patch aims to handle such cases gracefully and avoid the
linker from crashing.

---------

Co-authored-by: Ellis Hoag &lt;ellis.sparky.hoag@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Default to --stack-first (#166998)</title>
<updated>2025-11-08T00:27:06+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2025-11-08T00:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6c84dd7b1c03486aabedc4d47e12ff0dfd87ba04'/>
<id>6c84dd7b1c03486aabedc4d47e12ff0dfd87ba04</id>
<content type='text'>
The really painful part of this PR was updating all the test files. I
had some help from Gemini GLI there
which did a pretty good job (got maybe 80% of the updates done).

Fixes: #151015</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The really painful part of this PR was updating all the test files. I
had some help from Gemini GLI there
which did a pretty good job (got maybe 80% of the updates done).

Fixes: #151015</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][macho] Move unwind logic from equalsVariable to equalsConstant (#165325)</title>
<updated>2025-11-07T23:56:44+00:00</updated>
<author>
<name>Jez Ng</name>
<email>me@jezng.com</email>
</author>
<published>2025-11-07T23:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=accec8b92d34e58bd1fb4e172cf0876186a1e351'/>
<id>accec8b92d34e58bd1fb4e172cf0876186a1e351</id>
<content type='text'>
Since equalsVariable runs a lot more times, we want to minimize the work
it
needs to do. Anything not dependent on the icfEqClass values should get
hoisted
out.

With this change, ICF runs ~1.7% faster when linking clang.

Benchmarking approach:

cbdr sample -b ~/extract-icf-time.sh ~/old/ld64.lld bin/ld64.lld
--timeout=300s | cbdr analyze -s 95

`extract-icf-time.sh` runs the clang link command with the `--icf=all
--time-trace` flags, then parses out the ICF duration from the resulting
time
trace using `jq`:

jq '{ICF: (.traceEvents[] | select(.name == "Fold Identical Code
Sections") | .dur)}'

Output:

&lt;/Users/jezng/extract-icf-time.sh ["/Users/jezng/old/ld64.lld"]&gt;
&lt;/Users/jezng/extract-icf-time.sh ["bin/ld64.lld"]&gt; difference (95% CI)
ICF 83678.207 ± 1502.778 82234.751 ± 1290.984 [ -2.0% .. -1.4%]
samples 208 225</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since equalsVariable runs a lot more times, we want to minimize the work
it
needs to do. Anything not dependent on the icfEqClass values should get
hoisted
out.

With this change, ICF runs ~1.7% faster when linking clang.

Benchmarking approach:

cbdr sample -b ~/extract-icf-time.sh ~/old/ld64.lld bin/ld64.lld
--timeout=300s | cbdr analyze -s 95

`extract-icf-time.sh` runs the clang link command with the `--icf=all
--time-trace` flags, then parses out the ICF duration from the resulting
time
trace using `jq`:

jq '{ICF: (.traceEvents[] | select(.name == "Fold Identical Code
Sections") | .dur)}'

Output:

&lt;/Users/jezng/extract-icf-time.sh ["/Users/jezng/old/ld64.lld"]&gt;
&lt;/Users/jezng/extract-icf-time.sh ["bin/ld64.lld"]&gt; difference (95% CI)
ICF 83678.207 ± 1502.778 82234.751 ± 1290.984 [ -2.0% .. -1.4%]
samples 208 225</pre>
</div>
</content>
</entry>
<entry>
<title>[lld] Remove redundant declarations (NFC) (#166712)</title>
<updated>2025-11-06T14:51:49+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-11-06T14:51:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=753d4bc57147996de81608a55907290351f6dd4b'/>
<id>753d4bc57147996de81608a55907290351f6dd4b</id>
<content type='text'>
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.

Identified with readability-redundant-declaration.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.

Identified with readability-redundant-declaration.</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Allow `--no-stack-first` in addition to `--stack-first` (#166384)</title>
<updated>2025-11-04T18:40:46+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2025-11-04T18:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e29ee270615f3c8e3c9a0a657c0be43f9d76f441'/>
<id>e29ee270615f3c8e3c9a0a657c0be43f9d76f441</id>
<content type='text'>
This paves the way to make `--stack-first` the default.

See: #151015</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This paves the way to make `--stack-first` the default.

See: #151015</pre>
</div>
</content>
</entry>
<entry>
<title>[lld][WebAssembly] Use writePtrConst helper function (#166228)</title>
<updated>2025-11-03T22:42:05+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2025-11-03T22:42:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c0cb5133489fa746ae5de43a17991778281fe4c9'/>
<id>c0cb5133489fa746ae5de43a17991778281fe4c9</id>
<content type='text'>
This is especially important for writing i32 values larger than 2gb
which need to be encoded as negative SLEB vales in the binary.

Without this change offsets over 2gb are wrongly encoded and cause
validation errors.

Fixes: https://github.com/emscripten-core/emscripten/issues/25706</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is especially important for writing i32 values larger than 2gb
which need to be encoded as negative SLEB vales in the binary.

Without this change offsets over 2gb are wrongly encoded and cause
validation errors.

Fixes: https://github.com/emscripten-core/emscripten/issues/25706</pre>
</div>
</content>
</entry>
<entry>
<title>[LLD] [Docs] explain --unresolved-symbols options (#165937)</title>
<updated>2025-11-02T18:25:31+00:00</updated>
<author>
<name>Florian Mayer</name>
<email>fmayer@google.com</email>
</author>
<published>2025-11-02T18:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eda719f12cc68de5240e7a5f1c0c62cf955af343'/>
<id>eda719f12cc68de5240e7a5f1c0c62cf955af343</id>
<content type='text'>
Tested with `man lld/docs/ld.lld.1`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested with `man lld/docs/ld.lld.1`</pre>
</div>
</content>
</entry>
<entry>
<title>[ADT] Prepare to deprecate variadic `StringSwitch::Cases`. NFC. (#166020)</title>
<updated>2025-11-02T00:12:33+00:00</updated>
<author>
<name>Jakub Kuderski</name>
<email>jakub@nod-labs.com</email>
</author>
<published>2025-11-02T00:12:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4c21d0cb14806fe1f5f42abd9d7e772013f625cb'/>
<id>4c21d0cb14806fe1f5f42abd9d7e772013f625cb</id>
<content type='text'>
Update all uses of variadic `.Cases` to use the initializer list
overload instead. I plan to mark variadic `.Cases` as deprecated in a
followup PR.

For more context, see https://github.com/llvm/llvm-project/pull/163117.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update all uses of variadic `.Cases` to use the initializer list
overload instead. I plan to mark variadic `.Cases` as deprecated in a
followup PR.

For more context, see https://github.com/llvm/llvm-project/pull/163117.</pre>
</div>
</content>
</entry>
</feed>
