diff options
| author | Lang Hames <lhames@gmail.com> | 2018-06-03 02:18:03 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2018-06-03 02:18:03 +0000 |
| commit | 353499fc953c782c69542ad8ab8665b0f55ba01e (patch) | |
| tree | 947d1e114aa432d2a57ae646ea51cb01f89f67ce /llvm/unittests/ExecutionEngine | |
| parent | 2b55e751ce61d7690706748926327166fa2cd59d (diff) | |
| download | bcm5719-llvm-353499fc953c782c69542ad8ab8665b0f55ba01e.tar.gz bcm5719-llvm-353499fc953c782c69542ad8ab8665b0f55ba01e.zip | |
[ORC] Use JITEvaluatedSymbol for IndirectStubsManager findStub and findPointer.
Existing implementations of these methods do not require lazy materialization,
and switching to JITEvaluatedSymbol allows us to remove error checking on the
client side.
llvm-svn: 333835
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
| -rw-r--r-- | llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp index 0d2a712a9e8..a1f864bae01 100644 --- a/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp @@ -36,11 +36,11 @@ public: llvm_unreachable("Not implemented"); } - JITSymbol findStub(StringRef Name, bool ExportedStubsOnly) override { + JITEvaluatedSymbol findStub(StringRef Name, bool ExportedStubsOnly) override { llvm_unreachable("Not implemented"); } - JITSymbol findPointer(StringRef Name) override { + JITEvaluatedSymbol findPointer(StringRef Name) override { llvm_unreachable("Not implemented"); } |

