[lld] [ELF] Orphan placement: remove hasInputSections condition (PR #93761)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 08:23:49 PDT 2024
https://github.com/smithp35 commented:
I found that `llvm-project/lld/test/ELF/linkerscript/orphan-live-only.s` failed after applying this patch. It looks like this was mentioned in an earlier comment, but it doesn't look like that change has made it into the tests. I could be doing something wrong, so please ignore me if I have.
I agree that the change to orphan-live-only.s is reasonable.
I've also run the `bin/ld.lld -shared test.o -T test.t -o test.so` from an earlier comment and that also gives a good result with the change
I think the non-alloc synthetic section placement could do with some improvement but I think that would have to be done with a separate patch.
https://github.com/llvm/llvm-project/pull/93761
More information about the llvm-commits
mailing list