[llvm] [llvm-objcopy] --change-section-lma: skip segments with no assigned address (PR #218414)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 01:51:59 PDT 2026


https://github.com/jh7370 requested changes to this pull request.

Why does the PT_RISCV_ATTRIBUTES segment have a memsize if it is not assigned an address? This sounds like a mistake in the segment generation in the first place... In my opinion, this sounds like a case of garbage-in, garbage-out (or in this case an error).

https://github.com/llvm/llvm-project/pull/218414


More information about the llvm-commits mailing list