This is an archive of the discontinued LLVM Phabricator instance.

Prevent HostInfoBase::GetAugmentedArchSpec() from attaching "unknown" environments
ClosedPublic

Authored by aprantl on Apr 1 2022, 4:27 PM.

Details

Summary

Messy stuff. Environments are optional and a missing environment is distinct from the default "unknown" environment enumerator.
Also the test sucks, because the function uses the host triple and is unpredictable.

rdar://91007207

Diff Detail

Event Timeline

aprantl created this revision.Apr 1 2022, 4:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2022, 4:27 PM
aprantl requested review of this revision.Apr 1 2022, 4:27 PM
JDevlieghere accepted this revision.Apr 1 2022, 5:37 PM

Fun stuff.

This revision is now accepted and ready to land.Apr 1 2022, 5:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 8:57 AM