<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/ObjCopy/ELF/ELFObject.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>[llvm] Use llvm::copy (NFC) (#168182)</title>
<updated>2025-11-15T16:06:00+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-11-15T16:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7a8237bbb63b27d1f899235a25ef33dfbd7137c0'/>
<id>7a8237bbb63b27d1f899235a25ef33dfbd7137c0</id>
<content type='text'>
Identified with llvm-use-ranges.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified with llvm-use-ranges.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Support building with c++23 (#154372)</title>
<updated>2025-08-29T12:52:07+00:00</updated>
<author>
<name>Kyle Krüger</name>
<email>7158199+kykrueger@users.noreply.github.com</email>
</author>
<published>2025-08-29T12:52:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5d0294fcb61560a228e230e8a477fc44746ec62b'/>
<id>5d0294fcb61560a228e230e8a477fc44746ec62b</id>
<content type='text'>
closes #154331 

This PR addresses all minimum changes needed to compile LLVM and MLIR
with the c++23 standard.
It is a work in progress and to be reviewed for better methods of
handling the parts of the build broken by c++23.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #154331 

This PR addresses all minimum changes needed to compile LLVM and MLIR
with the c++23 standard.
It is a work in progress and to be reviewed for better methods of
handling the parts of the build broken by c++23.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use llvm::copy (NFC) (#137470)</title>
<updated>2025-04-26T22:50:38+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-04-26T22:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8ba3a232d1985a75cf771f8832e911b6f8abe86b'/>
<id>8ba3a232d1985a75cf771f8832e911b6f8abe86b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[llvm-objcopy][ELF] Add an option to remove notes (#118739)"</title>
<updated>2025-01-23T23:22:04+00:00</updated>
<author>
<name>Igor Kudrin</name>
<email>ikudrin@accesssoftek.com</email>
</author>
<published>2025-01-23T22:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=10772807ab72ce2b68d76816f8753219b2acbac3'/>
<id>10772807ab72ce2b68d76816f8753219b2acbac3</id>
<content type='text'>
This fixes "unused-local-typedef" warnings in 9324e6a7a5.

This adds an option `--remove-note=[name/]type` to selectively delete
notes in ELF files, where `type` is the numeric value of the note type
and `name` is the name of the originator. The name can be omitted, in
which case all notes of the specified type will be removed. For now,
only `SHT_NOTE` sections that are not associated with segments are
handled. The implementation can be extended later as needed.

RFC: https://discourse.llvm.org/t/rfc-llvm-objcopy-feature-for-editing-notes/83491
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes "unused-local-typedef" warnings in 9324e6a7a5.

This adds an option `--remove-note=[name/]type` to selectively delete
notes in ELF files, where `type` is the numeric value of the note type
and `name` is the name of the originator. The name can be omitted, in
which case all notes of the specified type will be removed. For now,
only `SHT_NOTE` sections that are not associated with segments are
handled. The implementation can be extended later as needed.

RFC: https://discourse.llvm.org/t/rfc-llvm-objcopy-feature-for-editing-notes/83491
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[llvm-objcopy][ELF] Add an option to remove notes (#118739)"</title>
<updated>2025-01-23T22:57:29+00:00</updated>
<author>
<name>Igor Kudrin</name>
<email>ikudrin@accesssoftek.com</email>
</author>
<published>2025-01-23T22:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=621e5cd8204596874c2ec7c8c169044d8e6865e3'/>
<id>621e5cd8204596874c2ec7c8c169044d8e6865e3</id>
<content type='text'>
This reverts commit 9324e6a7a5c5adc5b5c38c3e3cbecd7e1e98876a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9324e6a7a5c5adc5b5c38c3e3cbecd7e1e98876a.
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-objcopy][ELF] Add an option to remove notes (#118739)</title>
<updated>2025-01-23T22:27:40+00:00</updated>
<author>
<name>Igor Kudrin</name>
<email>ikudrin@accesssoftek.com</email>
</author>
<published>2025-01-23T22:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9324e6a7a5c5adc5b5c38c3e3cbecd7e1e98876a'/>
<id>9324e6a7a5c5adc5b5c38c3e3cbecd7e1e98876a</id>
<content type='text'>
This adds an option `--remove-note=[name/]type` to selectively delete
notes in ELF files, where `type` is the numeric value of the note type
and `name` is the name of the originator. The name can be omitted, in
which case all notes of the specified type will be removed. For now,
only `SHT_NOTE` sections that are not associated with segments are
handled. The implementation can be extended later as needed.


RFC: https://discourse.llvm.org/t/rfc-llvm-objcopy-feature-for-editing-notes/83491</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds an option `--remove-note=[name/]type` to selectively delete
notes in ELF files, where `type` is the numeric value of the note type
and `name` is the name of the originator. The name can be omitted, in
which case all notes of the specified type will be removed. For now,
only `SHT_NOTE` sections that are not associated with segments are
handled. The implementation can be extended later as needed.


RFC: https://discourse.llvm.org/t/rfc-llvm-objcopy-feature-for-editing-notes/83491</pre>
</div>
</content>
</entry>
<entry>
<title>[ObjCopy] Remove unused includes (NFC) (#116534)</title>
<updated>2024-11-17T16:39:13+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-11-17T16:39:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=54dad9e269f365d0eff2f63c5ee843564eecca7e'/>
<id>54dad9e269f365d0eff2f63c5ee843564eecca7e</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>[llvm-objcopy] Remove references for empty section groups (#98106)</title>
<updated>2024-07-09T21:48:09+00:00</updated>
<author>
<name>Pranav Kant</name>
<email>prka@google.com</email>
</author>
<published>2024-07-09T21:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e142a5568627d8f90b13aaca3e427cb0bed71464'/>
<id>e142a5568627d8f90b13aaca3e427cb0bed71464</id>
<content type='text'>
Otherwise, llvm-objcopy fails with use-after-free when built under
sanitizers. Simple repro: run the test
`ELF/remove-section-in-group.test` under asan. This is due to symbol
table references to empty section groups that must be removed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, llvm-objcopy fails with use-after-free when built under
sanitizers. Simple repro: run the test
`ELF/remove-section-in-group.test` under asan. This is due to symbol
table references to empty section groups that must be removed.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[llvm-objcopy] Remove empty SHT_GROUP sections (#97141)"</title>
<updated>2024-07-09T06:47:28+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-07-09T06:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2abe53a17f486a055a3715f19a37e3e91b4415fc'/>
<id>2abe53a17f486a055a3715f19a37e3e91b4415fc</id>
<content type='text'>
This reverts commit 359c64f314ad568e78ee9a3723260286e3425c2d.

This caused heap-use-after-free. See #98106.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 359c64f314ad568e78ee9a3723260286e3425c2d.

This caused heap-use-after-free. See #98106.
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-objcopy] Remove empty SHT_GROUP sections (#97141)</title>
<updated>2024-07-08T18:50:23+00:00</updated>
<author>
<name>Dmitriy Chestnykh</name>
<email>dm.chestnykh@gmail.com</email>
</author>
<published>2024-07-08T18:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=359c64f314ad568e78ee9a3723260286e3425c2d'/>
<id>359c64f314ad568e78ee9a3723260286e3425c2d</id>
<content type='text'>
Currently `llvm-objcopy/llvm-strip` in `--strip-debug` mode doesn't
remove such sections. This behavior can lead to incompatibilities with
GNU binutils (for examples ld.bfd before https://sourceware.org/PR20520
cannot process the object file contains empty .group section).
The ELF object that contains group section with `.debug_*` sections
inside can be obtained by `gcc -g3`.
Fix #97139</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently `llvm-objcopy/llvm-strip` in `--strip-debug` mode doesn't
remove such sections. This behavior can lead to incompatibilities with
GNU binutils (for examples ld.bfd before https://sourceware.org/PR20520
cannot process the object file contains empty .group section).
The ELF object that contains group section with `.debug_*` sections
inside can be obtained by `gcc -g3`.
Fix #97139</pre>
</div>
</content>
</entry>
</feed>
