llvm-project/llvm/lib/ExecutionEngine
Eric Fiselier 87c87f4c30 [CMake] Fix pthread handling for out-of-tree builds
LLVM defines `PTHREAD_LIB` which is used by AddLLVM.cmake and various projects
to correctly link the threading library when needed. Unfortunately
`PTHREAD_LIB` is defined by LLVM's `config-ix.cmake` file which isn't installed
and therefore can't be used when configuring out-of-tree builds. This causes
such builds to fail since `pthread` isn't being correctly linked.

This patch attempts to fix that problem by renaming and exporting
`LLVM_PTHREAD_LIB` as part of`LLVMConfig.cmake`. I renamed `PTHREAD_LIB`
because It seemed likely to cause collisions with downstream users of
`LLVMConfig.cmake`.

llvm-svn: 294690
2017-02-10 01:59:20 +00:00
..
IntelJITEvents [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
Interpreter IR: Change the gep_type_iterator API to avoid always exposing the "current" type. 2016-12-02 02:24:42 +00:00
MCJIT Use StringRef instead of raw pointer in ExecutionEngine 2016-10-01 06:22:04 +00:00
OProfileJIT [ExecutionEngine] Fix compile errors in OProfileJITEventListener. 2017-01-03 21:39:43 +00:00
Orc [Orc][RPC] Add an RPCFunctionNotSupported error type and return it from 2017-01-15 06:34:25 +00:00
RuntimeDyld RuntimeDyldELF/AArch64: Implement basic GOT support 2017-02-06 15:31:28 +00:00
CMakeLists.txt [ExecutionEngine][RuntimeDyld] Move JITSymbol from ExecutionEngine to RuntimeDyld. 2016-08-07 01:19:37 +00:00
ExecutionEngine.cpp Replace APFloatBase static fltSemantics data members with getter functions 2016-12-14 11:57:17 +00:00
ExecutionEngineBindings.cpp Use StringRef instead of raw pointer in ExecutionEngine 2016-10-01 06:22:04 +00:00
GDBRegistrationListener.cpp Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
LLVMBuild.txt add missing dependency for ExecutionEngine lib 2015-06-01 21:56:56 +00:00
SectionMemoryManager.cpp Use the range variant of remove_if instead of unpacking begin/end 2016-08-12 04:32:37 +00:00
TargetSelect.cpp Use the range variant of find/find_if instead of unpacking begin/end 2016-08-12 03:55:06 +00:00