diff options
author | Lang Hames <lhames@gmail.com> | 2018-05-30 01:57:45 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-05-30 01:57:45 +0000 |
commit | bd0cb787d05b555791a88640dcf9800bab54d4fa (patch) | |
tree | 54462834993763589d348390b6886b1fef1da6fe /llvm/lib/Support/SmallVector.cpp | |
parent | b534510cd55dc979bf6eebd66140cda23ba1f163 (diff) | |
download | llvm-bd0cb787d05b555791a88640dcf9800bab54d4fa.zip llvm-bd0cb787d05b555791a88640dcf9800bab54d4fa.tar.gz llvm-bd0cb787d05b555791a88640dcf9800bab54d4fa.tar.bz2 |
[ORC] Update JITCompileCallbackManager to support multi-threaded code.
Previously JITCompileCallbackManager only supported single threaded code. This
patch embeds a VSO (see include/llvm/ExecutionEngine/Orc/Core.h) in the callback
manager. The VSO ensures that the compile callback is only executed once and that
the resulting address cached for use by subsequent re-entries.
llvm-svn: 333490
Diffstat (limited to 'llvm/lib/Support/SmallVector.cpp')
0 files changed, 0 insertions, 0 deletions