This is an archive of the discontinued LLVM Phabricator instance.

Also document -arch as -arch is mac specific
ClosedPublic

Authored by sylvestre.ledru on Apr 7 2019, 3:11 PM.

Diff Detail

Event Timeline

sylvestre.ledru created this revision.Apr 7 2019, 3:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2019, 3:11 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Reading through the source, it's relatively clear that -arch is specific to the Mach0 format, but -target seems applicable to OSX too, see https://godbolt.org/z/j8jvjbo84

docs/CommandGuide/clang.rst
319

To be clear: this is probably misleading and should be (all platforms)

Take in account Serge's comment

This revision is now accepted and ready to land.Feb 2 2022, 7:22 AM
This revision was landed with ongoing or failed builds.Feb 2 2022, 7:23 AM
This revision was automatically updated to reflect the committed changes.