diff options
author | Fangrui Song <i@maskray.me> | 2022-11-23 21:09:44 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-11-23 21:09:45 -0800 |
commit | 875adb400754bb331d3540af67c94577ff58e8c8 (patch) | |
tree | ecbc42607652d981ca486f09094a2fa6832f9c1f /llvm/lib/Support/Threading.cpp | |
parent | 93b553e3f2e4f53ce3dda13cd18dbc43643a535b (diff) | |
download | llvm-875adb400754bb331d3540af67c94577ff58e8c8.zip llvm-875adb400754bb331d3540af67c94577ff58e8c8.tar.gz llvm-875adb400754bb331d3540af67c94577ff58e8c8.tar.bz2 |
Host: Internalize computeHostNumPhysicalCores/computeHostNumHardwareThreads
Windows computeHostNumPhysicalCores is defined by Threading.cpp. Leave it
unchanged.
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
-rw-r--r-- | llvm/lib/Support/Threading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp index b14ff95..bd954fd 100644 --- a/llvm/lib/Support/Threading.cpp +++ b/llvm/lib/Support/Threading.cpp @@ -47,7 +47,7 @@ unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { #else -int computeHostNumHardwareThreads(); +static int computeHostNumHardwareThreads(); unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { int MaxThreadCount = UseHyperThreads ? computeHostNumHardwareThreads() |