Skip to content

Commit b58c15a

Browse files
committed
rebase errors
1 parent 8b24fd6 commit b58c15a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ class EPCGenericDylibManager {
5151
/// Loads the dylib with the given name.
5252
LLVM_ABI Expected<tpctypes::DylibHandle> open(StringRef Path, uint64_t Mode);
5353

54-
/// Looks up symbols within the given dylib.
54+
/// Blocking lookup of symbols within the given dylib.
5555
Expected<tpctypes::LookupResult> lookup(tpctypes::DylibHandle H,
5656
const SymbolLookupSet &Lookup) {
57-
orc::future<MSVCPExpected<tpctypes::LookupResult>> RF;
57+
orc::future<Expected<tpctypes::LookupResult>> RF;
5858
lookupAsync(H, Lookup, [RP = RF.get_promise(EPC.getDispatcher())](auto R) {
5959
RP.set_value(std::move(R));
6060
});
6161
return RF.get();
6262
}
6363

64-
/// Looks up symbols within the given dylib.
64+
/// Blocking lookup of symbols within the given dylib.
6565
Expected<tpctypes::LookupResult> lookup(tpctypes::DylibHandle H,
6666
const RemoteSymbolLookupSet &Lookup) {
67-
orc::future<MSVCPExpected<std::vector<ExecutorSymbolDef>>> RF;
67+
orc::future<Expected<tpctypes::LookupResult>> RF;
6868
lookupAsync(H, Lookup, [RP = RF.get_promise(EPC.getDispatcher())](auto R) {
6969
RP.set_value(std::move(R));
7070
});

llvm/lib/ExecutionEngine/Orc/ExecutorResolutionGenerator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include "llvm/ExecutionEngine/Orc/DebugUtils.h"
1212
#include "llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h"
13+
#include "llvm/ExecutionEngine/Orc/DylibManager.h"
1314
#include "llvm/Support/Error.h"
1415

1516
#define DEBUG_TYPE "orc"

0 commit comments

Comments
 (0)