This is an archive of the discontinued LLVM Phabricator instance.

[lld/mac] Don't crash on -order_file with assembly inputs on arm64
ClosedPublic

Authored by thakis on May 28 2021, 5:39 PM.

Details

Summary

.s files with -g generate __debug_aranges on darwin/arm64 for some
reason, and those lead to nullptr symbols. Don't crash on that.

Fixes PR50517.

Diff Detail

Event Timeline

thakis created this revision.May 28 2021, 5:39 PM
Herald added a reviewer: gkm. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
thakis requested review of this revision.May 28 2021, 5:39 PM
int3 accepted this revision.May 28 2021, 5:47 PM

Thanks!

This revision is now accepted and ready to land.May 28 2021, 5:47 PM
This revision was landed with ongoing or failed builds.May 28 2021, 6:00 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 28 2021, 6:00 PM