This is an archive of the discontinued LLVM Phabricator instance.

Add Hurd OS
Needs ReviewPublic

Authored by pinotree on May 6 2017, 8:30 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Add a new Hurd OS for Triple, and recognize it from "gnu0" prefixes
(coming from the typical triple, e.g. "i686-unknown-gnuX.Y").
Recognizing the unversioned OS name "gnu" would create too much
confusion with the "gnu" environment, so that is skipped for now.

Also, tweak the normalization test in TripleTest: avoid checking
permutations of the Hurd OS, as it could be mishandled as environment.

Event Timeline

pinotree created this revision.May 6 2017, 8:30 AM