llvm-project/llvm/lib/ExecutionEngine/Interpreter
Dylan Noblesmith c4c5180fb4 Support: add llvm::unique_lock
Based on the STL class of the same name, it guards a mutex
while also allowing it to be unlocked conditionally before
destruction.

This eliminates the last naked usages of mutexes in LLVM and
clang.

It also uncovered and fixed a bug in callExternalFunction()
when compiled without USE_LIBFFI, where the mutex would never
be unlocked if the end of the function was reached.

llvm-svn: 216338
2014-08-23 23:07:14 +00:00
..
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
Execution.cpp [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
ExternalFunctions.cpp Support: add llvm::unique_lock 2014-08-23 23:07:14 +00:00
Interpreter.cpp Make it explicit that ExecutionEngine takes ownership of the modules. 2014-08-19 04:04:25 +00:00
Interpreter.h Make it explicit that ExecutionEngine takes ownership of the modules. 2014-08-19 04:04:25 +00:00
LLVMBuild.txt Prune redundant dependencies in LLVMBuild.txt. 2013-12-11 00:30:57 +00:00
Makefile