Skip to content

Commit

Permalink
[Support] Accept macosx triple as 'darwin' in Host unittest. NFC.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ahmedbougacha committed Feb 3, 2017
1 parent db5a565 commit f60b684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/unittests/Support/Host.cpp
Expand Up @@ -35,6 +35,7 @@ class HostTest : public testing::Test {
// 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));
}
};

Expand Down

0 comments on commit f60b684

Please sign in to comment.