[PATCH] D51052: [WIP] LLJITTest

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 07:20:47 PDT 2018


sgraenitz updated this revision to Diff 161950.
sgraenitz added a comment.

Split up into 4 usage examples. This goes from a very simple use case to more advanced ones.

It illustrates 2 current issues:

- PassManager::run() seems to be not thread-safe, thus the extra mutex in IRCompileLayer2::emit().
- JITing from different threads causes deadlock during symbol lookup.


Repository:
  rL LLVM

https://reviews.llvm.org/D51052

Files:
  lib/ExecutionEngine/Orc/IRCompileLayer.cpp
  unittests/ExecutionEngine/Orc/LLJITTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51052.161950.patch
Type: text/x-patch
Size: 13423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/59ec399d/attachment.bin>


More information about the llvm-commits mailing list