]> granicus.if.org Git - llvm/commit
[ORC] Rename MaterializationResponsibility resolve and emit methods to
authorLang Hames <lhames@gmail.com>
Thu, 13 Jun 2019 20:11:23 +0000 (20:11 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 13 Jun 2019 20:11:23 +0000 (20:11 +0000)
commitfed30998fe10229c6b815ed9a6741e113ad72e5c
tree0e8001662a4730ac7142d31676f05611afdf5f62
parent2528c30938fb501c7937ba37cb39a2b35689b719
[ORC] Rename MaterializationResponsibility resolve and emit methods to
notifyResolved/notifyEmitted.

The 'notify' prefix better describes what these methods do: they update the JIT
symbol states and notify any pending queries that the 'resolved' and 'emitted'
states have been reached (rather than actually performing the resolution or
emission themselves). Since new states are going to be introduced in the near
future (to track symbol registration/initialization) it's worth changing the
convention pre-emptively to avoid further confusion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363322 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/Core.h
lib/ExecutionEngine/Orc/Core.cpp
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
lib/ExecutionEngine/Orc/LazyReexports.cpp
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp