[PATCH] D75084: [ORC] Decompose LazyCallThroughManager::callThroughToSymbol()

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 14:48:20 PST 2020


sgraenitz created this revision.
sgraenitz added a reviewer: lhames.
Herald added subscribers: dexonsmith, steven_wu, hiraditya.
Herald added a project: LLVM.

Decompose callThroughToSymbol() into findReexport(), resolveSymbol(), notifyResolved() and reportCallThroughError(). This allows derived classes to reuse the functionality while adding their own code in between. ThinLtoJIT's NotifyingCallThroughManager is an example for that. It wants to send a notification as soon as it figured out the symbol name.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75084

Files:
  llvm/examples/ThinLtoJIT/OnDemandLayer.cpp
  llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
  llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75084.246316.patch
Type: text/x-patch
Size: 6201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/fe080420/attachment.bin>


More information about the llvm-commits mailing list