diff options
author | Zachary Turner <zturner@google.com> | 2017-03-04 18:53:09 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-04 18:53:09 +0000 |
commit | 1f004c43d2478af6c8ec0df72fa2f3283eff8c91 (patch) | |
tree | 78960380bf3161dac2a30c2a2c3befcf766d6d54 /llvm/lib/Support/Windows | |
parent | 898c241b26d166e7981875a71eb925468d393d5c (diff) | |
download | bcm5719-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/Windows')
-rw-r--r-- | llvm/lib/Support/Windows/Threading.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Threading.inc b/llvm/lib/Support/Windows/Threading.inc index 8f36f79ca43..93b2dfe0945 100644 --- a/llvm/lib/Support/Windows/Threading.inc +++ b/llvm/lib/Support/Windows/Threading.inc @@ -59,7 +59,7 @@ uint64_t llvm::get_threadid() { return uint64_t(::GetCurrentThreadId()); } -constexpr uint32_t llvm::get_max_thread_name_length() { return 0; } +uint32_t llvm::get_max_thread_name_length() { return 0; } void llvm::set_thread_name(const Twine &Name) { #if defined(_MSC_VER) |