ICF runs before relocation processing, but undefined symbol errors
are only emitted during relocation processing.
So just ignore Undefineds during ICF (instead of crashing) -- lld
will emit an error once ICF is done.
Fixes PR52330.
Differential D112643
[lld/mac] Don't crash on undefined symbols with --icf=all thakis on Oct 27 2021, 11:41 AM. Authored by
Details
ICF runs before relocation processing, but undefined symbol errors So just ignore Undefineds during ICF (instead of crashing) -- lld Fixes PR52330.
Diff Detail
Event Timeline |