[PATCH] D81052: [ELF] Handle -u before input files
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 22:15:37 PDT 2020
MaskRay added a comment.
In D81052#2315733 <https://reviews.llvm.org/D81052#2315733>, @troyj wrote:
>> In all cases we make foo undefined in the output.
>
> Why?
Undefined weak is difficult. You can check out D63974 <https://reviews.llvm.org/D63974> D64136 <https://reviews.llvm.org/D64136> D65584 <https://reviews.llvm.org/D65584> D66992 <https://reviews.llvm.org/D66992> is you want to learn more.
> We're having trouble with this downstream for the case of:
>
> -u foo a.o b.a
>
> where foo is weak in a.o and provided by b.a. The result is that foo is undefined in the output, whereas the previous behavior was for foo to be defined.
Sent D88945 <https://reviews.llvm.org/D88945>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81052/new/
https://reviews.llvm.org/D81052
More information about the llvm-commits
mailing list