OSDN Git Service

Reapply r343058 with a fix for -DLLVM_ENABLE_THREADS=OFF.
authorLang Hames <lhames@gmail.com>
Wed, 26 Sep 2018 16:26:59 +0000 (16:26 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 26 Sep 2018 16:26:59 +0000 (16:26 +0000)
commit91c25dba637a08293daa9e649745131a61569b28
tree30a2f1dc52cbafc209f4d313bbbad8105cfd71fd
parent04c9c81cc65a0de4a0174dd092d3bd99ab9b7539
Reapply r343058 with a fix for -DLLVM_ENABLE_THREADS=OFF.

Modifies lit to add a 'thread_support' feature that can be used in lit test
REQUIRES clauses. The thread_support flag is set if -DLLVM_ENABLE_THREADS=ON
and unset if -DLLVM_ENABLE_THREADS=OFF. The lit flag is used to disable the
multiple-compile-threads-basic.ll testcase when threading is disabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343122 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/LLJIT.h
lib/ExecutionEngine/Orc/LLJIT.cpp
test/CMakeLists.txt
test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll [new file with mode: 0644]
test/lit.cfg.py
test/lit.site.cfg.py.in
tools/lli/lli.cpp