summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/Host.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/Host.cpp')
-rw-r--r--llvm/unittests/Support/Host.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/unittests/Support/Host.cpp b/llvm/unittests/Support/Host.cpp
index 1fb0bc73314..934a6049542 100644
--- a/llvm/unittests/Support/Host.cpp
+++ b/llvm/unittests/Support/Host.cpp
@@ -31,9 +31,10 @@ protected:
Host.setTriple(Triple::normalize(sys::getProcessTriple()));
// Initially this is only testing detection of the number of
- // physical cores, which is currently only supported for
- // x86_64 Linux.
+ // physical cores, which is currently only supported/tested for
+ // 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));
}
};
OpenPOWER on IntegriCloud