[PATCH] D150184: [ORC] Fix race-condition in RTDyldObjectLinkingLayer::onObjEmit.

Moritz Kroll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 14:16:54 PDT 2023


mkroll updated this revision to Diff 527199.
mkroll added a comment.

Update order as discussed to first `EventListeners`, then `NotifyEmitted`, then adding the `MemMgr` and then `MaterializationResponsibility::notifyEmitted()`.
This is basically the same order as in `ObjectLinkingLayer` now.

ORCJitTests and LLVM regression tests are successful for me.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150184/new/

https://reviews.llvm.org/D150184

Files:
  llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
  llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150184.527199.patch
Type: text/x-patch
Size: 6637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/031e07e4/attachment.bin>


More information about the llvm-commits mailing list