summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-02-03 01:32:39 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-02-03 01:32:39 +0000
commitf60b68457eafefacd4e7c9b9cead58c2f88cc4a4 (patch)
tree9ab60d2550a7515f42a43f41a42bfc021f84a153
parentdb5a5655141c70c31bdcbb92aec6104bc533b6ac (diff)
downloadbcm5719-llvm-f60b68457eafefacd4e7c9b9cead58c2f88cc4a4.tar.gz
bcm5719-llvm-f60b68457eafefacd4e7c9b9cead58c2f88cc4a4.zip
[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
-rw-r--r--llvm/unittests/Support/Host.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/Support/Host.cpp b/llvm/unittests/Support/Host.cpp
index 934a6049542..fdeed878128 100644
--- a/llvm/unittests/Support/Host.cpp
+++ b/llvm/unittests/Support/Host.cpp
@@ -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));
}
};
OpenPOWER on IntegriCloud