1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[Support] Accept macosx triple as 'darwin' in Host unittest. NFC.

If LLVM was configured with an x86_64-apple-macosx host triple, this
test would fail, as the API works but the triple isn't in the whitelist.

llvm-svn: 293990
This commit is contained in:
Ahmed Bougacha 2017-02-03 01:32:39 +00:00
parent 6bf287b7d1
commit 30dc13645a

View File

@ -35,6 +35,7 @@ protected:
// x86_64 Linux and Darwin.
SupportedArchAndOSs.push_back(std::make_pair(Triple::x86_64, Triple::Linux));
SupportedArchAndOSs.push_back(std::make_pair(Triple::x86_64, Triple::Darwin));
SupportedArchAndOSs.push_back(std::make_pair(Triple::x86_64, Triple::MacOSX));
}
};