Skip to content
  • Lang Hames's avatar
    [ORC] Update JITCompileCallbackManager to support multi-threaded code. · bd0cb787
    Lang Hames authored
    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
    bd0cb787
Loading