[PATCH] D41046: [ELF] Make overlapping output sections an error

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 04:12:11 PST 2017


grimar added a comment.

In https://reviews.llvm.org/D41046#950367, @arichardson wrote:

> Speed up lld invocation in test/ELF/many-alloc-sections.s lld invocation from 290s to <1s by not checking empty sections


I think we already had patches for that purpose before (I can be missing details, though I mean general idea was to avoid overlapping things when linker script is used, 
probably it were PT_LOADs, but anyways).
And I think last time we stopped on a point that we are not going to stop users from breaking output if they want to do that, because with linker script it is easy to break everything.

That position can be revisited probably, if you have good arguments for that :)


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41046





More information about the llvm-commits mailing list