This fixes an issue introduced in D101996.
A weak reference in a shared library could be incorrectly reported if there is another library that has a strong reference to the same symbol.
Differential D115041
[ELF] Do not report undefined weak references in shared libraries ikudrin on Dec 3 2021, 7:40 AM. Authored by
Details This fixes an issue introduced in D101996. A weak reference in a shared library could be incorrectly reported if there is another library that has a strong reference to the same symbol.
Diff Detail Event TimelineComment Actions (I am in a trip and have limited Internet connection.) This is a good candidate for 13.0.1
Comment Actions
|
I just noticed that we did not (before this patch) have test coverage for && !s->isWeak().
If the binding check is tested here, Writer.cpp:1978 binding check may be deleted.