}
LMResources.StubsMgr = CreateIndirectStubsManager();
- auto EC = LMResources.StubsMgr->init(StubInits);
+ auto EC = LMResources.StubsMgr->createStubs(StubInits);
(void)EC;
// FIXME: This should be propagated back to the user. Stub creation may
// fail for remote JITs.
/// @brief Create StubInits.size() stubs with the given names, target
/// addresses, and flags.
- virtual std::error_code init(const StubInitsMap &StubInits) = 0;
+ virtual std::error_code createStubs(const StubInitsMap &StubInits) = 0;
/// @brief Find the stub with the given name. If ExportedStubsOnly is true,
/// this will only return a result if the stub's flags indicate that it
public:
std::error_code
- init(const StubInitsMap &StubInits) override {
+ createStubs(const StubInitsMap &StubInits) override {
if (auto EC = TargetT::emitIndirectStubsBlock(IndirectStubsInfo,
StubInits.size(),
nullptr))
class DummyStubsManager : public orc::IndirectStubsManagerBase {
public:
- std::error_code init(const StubInitsMap &StubInits) override {
+ std::error_code createStubs(const StubInitsMap &StubInits) override {
llvm_unreachable("Not implemented");
}