This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Improve invalid fat binary warning
ClosedPublic

Authored by keith on Jan 13 2023, 2:18 PM.

Details

Reviewers
int3
Group Reviewers
Restricted Project
Commits
rGe46d939c0fe1: [lld-macho] Improve invalid fat binary warning
Summary

This nearly mirrors ld64's error for this case:

ld: warning: ignoring file path/to/file, file is universal (armv7,arm64) but does not contain the x86_64 architecture: path/to/file

Diff Detail

Event Timeline

keith created this revision.Jan 13 2023, 2:18 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 13 2023, 2:18 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
keith requested review of this revision.Jan 13 2023, 2:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2023, 2:18 PM
int3 accepted this revision.Jan 13 2023, 4:55 PM
int3 added a subscriber: int3.

Thanks!! FWIW we don't usually strive for 1:1 matching of ld64's error messages, if anything we try to be more similar to the other LLD ports, but this seems good

This revision is now accepted and ready to land.Jan 13 2023, 4:55 PM
This revision was automatically updated to reflect the committed changes.