This is an archive of the discontinued LLVM Phabricator instance.

[flang][driver] Add support for generating executables on MacOSX/Darwin
ClosedPublic

Authored by awarzynski on May 15 2022, 5:13 AM.

Details

Summary

This patch basically extends https://reviews.llvm.org/D122008 with
support for MacOSX/Darwin.

To facilitate this, I've added MacOSX to the list of supported OSes in
Target.cpp. Flang already supports Darwin and it doesn't really do
anything OS-specific there (it could probably safely skip checking the
OS for now).

Note that generating executables remains hidden behind the
-flang-experimental-exec flag.

Diff Detail

Event Timeline

awarzynski created this revision.May 15 2022, 5:13 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
awarzynski requested review of this revision.May 15 2022, 5:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2022, 5:13 AM
rovka accepted this revision.May 16 2022, 1:53 AM

LGTM, I'll try to send one for Windows this week.

This revision is now accepted and ready to land.May 16 2022, 1:53 AM
schweitz accepted this revision.May 17 2022, 1:38 PM