diff options
author | Ruiling Song <ruiling.song@intel.com> | 2014-08-26 15:39:24 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-08-28 12:19:28 +0800 |
commit | a685c36739a9c52e548afc1dc62f1547f4e6d4cf (patch) | |
tree | aceea29e88f6d39437c1a3b857cb5bd09c4088cf /README.md | |
parent | 03339b1d66afc98089407564582fbe43b7a1cd64 (diff) |
GBE: refine the llvm multi-thread related code.
LLVM 3.5 remove llvm_start/stop_multithreaded() API, instead multi-thread
support is determined when build llvm(build option LLVM_ENABLE_THREADS).
llvm_is_multithreaded() is used to check whether llvm is built with
muti-thread support.
If multi-thread is not support(LLVM3.3/3.4 or 3.5 built with LLVM_ENABLE_THREADS off),
we simply add a mutex when calling clang/llvm related API.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions