commit | 543cda41102f96ab23da59c8b9edf384b5e7985c | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Wed May 30 01:57:45 2018 +0000 |
committer | Lang Hames <lhames@gmail.com> | Wed May 30 01:57:45 2018 +0000 |
tree | 1c2bb5f3756b680262c7190b86a4c4e7aad0e929 | |
parent | 8bc9af8efb9d94d4d5f5f801b43f2c38125d27bf [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333490 91177308-0d34-0410-b5e6-96231b3b80d8