diff options
| author | Lang Hames <lhames@gmail.com> | 2019-06-13 20:11:23 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2019-06-13 20:11:23 +0000 |
| commit | 2f8c6f93626ece59af259e36fa3dbff33bfe24e5 (patch) | |
| tree | 558271c41e74dfe82c3d3813c49c31917155463f /llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp | |
| parent | 6b936d88a46b716977445966e124af9e3d300f52 (diff) | |
| download | bcm5719-llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.tar.gz bcm5719-llvm-2f8c6f93626ece59af259e36fa3dbff33bfe24e5.zip | |
[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.
llvm-svn: 363322
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp')
| -rw-r--r-- | llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp index ebe99d48352..87d582b3c27 100644 --- a/llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp @@ -41,12 +41,12 @@ TEST_F(LazyReexportsTest, BasicLocalCallThroughManagerOperation) { SymbolFlagsMap({{DummyTarget, JITSymbolFlags::Exported}}), [&](MaterializationResponsibility R) { DummyTargetMaterialized = true; - R.resolve( + R.notifyResolved( {{DummyTarget, JITEvaluatedSymbol(static_cast<JITTargetAddress>( reinterpret_cast<uintptr_t>(&dummyTarget)), JITSymbolFlags::Exported)}}); - R.emit(); + R.notifyEmitted(); }))); unsigned NotifyResolvedCount = 0; |

