summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-04 18:53:09 +0000
committerZachary Turner <zturner@google.com>2017-03-04 18:53:09 +0000
commit1f004c43d2478af6c8ec0df72fa2f3283eff8c91 (patch)
tree78960380bf3161dac2a30c2a2c3befcf766d6d54 /llvm/lib/Support/Threading.cpp
parent898c241b26d166e7981875a71eb925468d393d5c (diff)
downloadbcm5719-llvm-1f004c43d2478af6c8ec0df72fa2f3283eff8c91.tar.gz
bcm5719-llvm-1f004c43d2478af6c8ec0df72fa2f3283eff8c91.zip
Try to fix thread name truncation on non-Windows.
llvm-svn: 296976
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
-rw-r--r--llvm/lib/Support/Threading.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp
index e49d3281069..6a10b988d46 100644
--- a/llvm/lib/Support/Threading.cpp
+++ b/llvm/lib/Support/Threading.cpp
@@ -49,6 +49,8 @@ unsigned llvm::heavyweight_hardware_concurrency() { return 1; }
uint64_t llvm::get_threadid() { return 0; }
+uint32_t llvm::get_max_thread_name_length() { return 0; }
+
void llvm::set_thread_name(const Twine &Name) {}
void llvm::get_thread_name(SmallVectorImpl<char> &Name) { Name.clear(); }
OpenPOWER on IntegriCloud