Re: r358665 - [clang][CIndex] Use llvm::set_thread_priority

2019-04-23 Thread Kadir Çetinkaya via cfe-commits
Thanks for the fix Nico! On Sun, Apr 21, 2019 at 9:17 PM Nico Weber wrote: > r358858 might help with this. > > On Sat, Apr 20, 2019 at 7:15 PM Nico Weber wrote: > >> This breaks building with LLVM_ENABLE_THREADS=OFF. The call probably >> needs to be behind a `#if LLVM_ENABLE_THREADS`. >> >> FAI

Re: r358665 - [clang][CIndex] Use llvm::set_thread_priority

2019-04-21 Thread Nico Weber via cfe-commits
r358858 might help with this. On Sat, Apr 20, 2019 at 7:15 PM Nico Weber wrote: > This breaks building with LLVM_ENABLE_THREADS=OFF. The call probably needs > to be behind a `#if LLVM_ENABLE_THREADS`. > > FAILED: bin/c-index-test > ... > lib/libclang.a(CIndex.cpp.o): In function `void llvm::func

Re: r358665 - [clang][CIndex] Use llvm::set_thread_priority

2019-04-20 Thread Nico Weber via cfe-commits
This breaks building with LLVM_ENABLE_THREADS=OFF. The call probably needs to be behind a `#if LLVM_ENABLE_THREADS`. FAILED: bin/c-index-test ... lib/libclang.a(CIndex.cpp.o): In function `void llvm::function_ref::callback_fn(long)': CIndex.cpp:(.text._ZN4llvm12function_refIFvvEE11callback_fnIZ25c

r358665 - [clang][CIndex] Use llvm::set_thread_priority

2019-04-18 Thread Kadir Cetinkaya via cfe-commits
Author: kadircet Date: Thu Apr 18 06:49:20 2019 New Revision: 358665 URL: http://llvm.org/viewvc/llvm-project?rev=358665&view=rev Log: [clang][CIndex] Use llvm::set_thread_priority Reviewers: jkorous, gribozavr Subscribers: dexonsmith, arphaman, cfe-commits Tags: #clang Differential Revision: