Note, we still name a preempted SharedSymbol "shared definition",
instead of "reference" as printed by GNU ld. This difference should not matter.
// GNU ld ld.bfd: t: definition of f@v1 ld.bfd: t.so: reference to f@v1
Paths
| Differential D80143
[ELF] Make --trace-symbol track preempted shared definitions ClosedPublic Authored by MaskRay on May 18 2020, 10:21 AM.
Details Summary Note, we still name a preempted SharedSymbol "shared definition", // GNU ld ld.bfd: t: definition of f@v1 ld.bfd: t.so: reference to f@v1
Diff Detail
Event TimelineComment Actions LGTM.
This revision is now accepted and ready to land.May 19 2020, 1:01 AM Closed by commit rG64676499741c: [ELF] Make --trace-symbol track preempted shared definitions (authored by MaskRay). · Explain WhyMay 19 2020, 9:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 264936 lld/ELF/Symbols.cpp
lld/test/ELF/trace-symbols.s
|
I know some prefer an unrelated refactoring change to be split out. Maybe worth committing this separately as an NFC white space change.