... instead of silently emitting a reference to the zero address.
Depends on D80049.
Paths
| Differential D80169
[lld-macho] Error on encountering undefined symbols ClosedPublic Authored by int3 on May 18 2020, 3:57 PM.
Details
Diff Detail
Event TimelineComment Actions LGTM, thanks for fixing! LLD ELF does this as part of its scanRelocations loop. That might be nicer cos we'd bail out with undefined symbol errors earlier. It doesn't matter a whole lot right now, but we could add a TODO. This revision is now accepted and ready to land.May 19 2020, 1:51 PM Closed by commit rGdf2a5778c32b: [lld-macho] Error on encountering undefined symbols (authored by int3). · Explain WhyJun 2 2020, 1:44 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 267979 lld/MachO/InputSection.cpp
lld/MachO/Writer.cpp
lld/test/MachO/invalid/undefined-symbol.s
|