This is an archive of the discontinued LLVM Phabricator instance.

[clang] Remove a FIXME that we can't fix
ClosedPublic

Authored by thakis on Aug 22 2022, 10:46 AM.

Details

Summary

I added this recently, but it looks like several tests very intentionally
check that -mios-version-min=foo --target=x86_64-apple-ios does simulator
builds. So we can't easily remove this hack, even though it makes little
sense in an arm mac world. (Here, you _have_ to say
-mios-simulator-version-min= or --target=arm64-apple-ios-simulator.)

The tests that check this:

Clang :: Driver/darwin-ld.c
Clang :: Driver/darwin-simulator-macro.c
Clang :: Driver/darwin-version.c

No behavior change.

Diff Detail

Event Timeline

thakis created this revision.Aug 22 2022, 10:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 10:46 AM
thakis requested review of this revision.Aug 22 2022, 10:46 AM
hans accepted this revision.Aug 23 2022, 6:59 AM

lgtm

"No behavior change." occurs twice in the change description.

This revision is now accepted and ready to land.Aug 23 2022, 6:59 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2022, 7:13 AM

Thanks, fixed commit message.

thakis edited the summary of this revision. (Show Details)Aug 23 2022, 7:13 AM