This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Ignore -debug_variant flag
ClosedPublic

Authored by keith on Mar 2 2023, 3:11 PM.

Details

Reviewers
int3
Group Reviewers
Restricted Project
Commits
rGea32351fae65: [lld-macho] Ignore -debug_variant flag
Summary

As far as I can tell all this flag does in ld64 is warn about cases
where you're building dylibs that are going to be part of the shared
cache, which I assume only apple is doing. Strangely I have seen this
flag being passed in the wild so this silences the warning about it.

Diff Detail

Event Timeline

keith created this revision.Mar 2 2023, 3:11 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 2 2023, 3:11 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
keith requested review of this revision.Mar 2 2023, 3:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2023, 3:11 PM
int3 accepted this revision.Mar 3 2023, 8:47 AM
This revision is now accepted and ready to land.Mar 3 2023, 8:47 AM
This revision was landed with ongoing or failed builds.Mar 3 2023, 9:01 AM
This revision was automatically updated to reflect the committed changes.