This worked before, but only by accident, and only with assertions disabled.
We ended up storing a DefinedRegular symbol in the WeakAlias field,
and never using it as an Undefined.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D10934
COFF: Fix the case where an object defines a weak external and its alias. ClosedPublic Authored by pcc on Jul 3 2015, 2:32 PM.
Details Summary This worked before, but only by accident, and only with assertions disabled.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 3 2015, 2:47 PM Closed by commit rL241376: COFF: Fix the case where an object defines a weak external and its alias. (authored by pcc). · Explain WhyJul 3 2015, 3:04 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 29036 lld/trunk/COFF/InputFiles.cpp
lld/trunk/COFF/SymbolTable.cpp
lld/trunk/COFF/Symbols.h
lld/trunk/test/COFF/weak-external.test
|