[PATCH] D36468: [ELF] - Allow discard COMMON from linkerscript.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 8 08:52:18 PDT 2017
grimar added a comment.
In https://reviews.llvm.org/D36468#835412, @davide wrote:
> What's the use case for discarding common symbols?
I do not know about real use case, I worked on a https://reviews.llvm.org/D36466 and tried to discard COMMON during work on that
patch to see what -Map will contain, but LLD crashed here :)
We can probably restrict discarding COMMON instead, though it will be 1 line fix too.
> Also, when you say "ignores such scripts" you mean that `gold` accepts this syntax and doesn't discard the common?
More information about the llvm-commits