Displaying 8 results from an estimated 8 matches for "symbolsnotfound".
2020 Sep 28
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...bol);
ES.lookup({{&jit->getMainJITDylib(), llvm::orc::JITDylibLookupFlags::MatchAllSymbols}}, lookupSet, llvm::orc::LookupKind::Static, llvm::orc::SymbolState::Resolved);
Even though the "tryToGenerate" function of my DefinitionGenerator returned a "llvm::orc::SymbolsNotFound" for the "?_Plansch_test@@3HA", I got an address for "?Sampler@@YAXXZ". Dumping the "MainJITDylib" I saw, that the "?Sampler@@YAXXZ" was in an Error state. Which made sense - I guess.
Question 1.)
Is there any way to reset the error state of "?Samp...
2020 Sep 29
3
ORC JIT - different behaviour of ExecutionSession.lookup?
...;Bjoern.Gaier at horiba.com>
Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] ORC JIT - different behaviour of ExecutionSession.lookup?
Hi Bjoern,
Even though the "tryToGenerate" function of my DefinitionGenerator returned a "llvm::orc::SymbolsNotFound" for the "?_Plansch_test@@3HA", I got an address for "?
That's because you're issuing the lookup with RequiredState == SymbolState::Resolved. This means that your query will return as soon as "?Sampler@@YAXXZ" is assigned an address. In the JIT linker(s) addre...
2020 Sep 30
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...Developers Mailing List <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>>
Subject: Re: [llvm-dev] ORC JIT - different behaviour of ExecutionSession.lookup?
Hi Bjoern,
Even though the "tryToGenerate" function of my DefinitionGenerator returned a "llvm::orc::SymbolsNotFound" for the "?_Plansch_test@@3HA", I got an address for "?
That's because you're issuing the lookup with RequiredState == SymbolState::Resolved. This means that your query will return as soon as "?Sampler@@YAXXZ" is assigned an address. In the JIT linker(s) addre...
2020 Sep 23
2
ORC JIT - Can modules independently managed with one LLJIT instance? + problems with ExecutionSession.lookup
...dr = element.second.getAddress();
}
}
else
{
ES.reportError(result.takeError());
}
this->mtx.unlock();
return (this->undefinedReferences.size() == 0ull);
}
I also attached a reporter to the ES which will handle “llvm::orc::SymbolsNotFound” by copying SymbolVector to the “undefinedReferences”. If I call this function and have every symbol resolved, then I can use the addresses to actually execute them. That is great! However, when I have an undefined Reference, things get strange… The first call will trigger my “tryToGenerate” functi...
2020 Sep 30
2
OrcV1 removal
..._0": Failed to
> > materialize symbols: { (main, { evalexpr_0_0 }) }
>
> (obviously the first part is postgres code)
> > Do you have thoughts on what that should look like?
>
>
> We need an API to install an error reporter on the session: That's where
> the SymbolsNotFound error will be delivered. I'll add that in a minute.
Sounds good.
> > The other part that I am still missing is replacment for
> > LLVMCreateGDBRegistrationListener();
> > LLVMCreatePerfJITEventListener();
> > LLVMOrcRegisterJITEventListener(llvm_opt0_orc, l);
> >...
2020 Sep 29
3
OrcV1 removal
Hi,
On 2020-09-25 16:38:41 -0700, Andres Freund via llvm-dev wrote:
> On 2020-09-24 16:34:30 -0700, Lang Hames wrote:
> > If anyone wants to check out the OrcV1 removal branch and provide feedback
> > now is the time. Otherwise I will aim to land the work in the mainline
> > early next week.
>
> I'm trying to get it to work with postgres. Unfortunately this week
2020 Oct 01
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...Developers Mailing List <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>>
Subject: Re: [llvm-dev] ORC JIT - different behaviour of ExecutionSession.lookup?
Hi Bjoern,
Even though the "tryToGenerate" function of my DefinitionGenerator returned a "llvm::orc::SymbolsNotFound" for the "?_Plansch_test@@3HA", I got an address for "?
That's because you're issuing the lookup with RequiredState == SymbolState::Resolved. This means that your query will return as soon as "?Sampler@@YAXXZ" is assigned an address. In the JIT linker(s) addre...
2020 Sep 24
2
ORC JIT - Can modules independently managed with one LLJIT instance? + problems with ExecutionSession.lookup
...dr = element.second.getAddress();
}
}
else
{
ES.reportError(result.takeError());
}
this->mtx.unlock();
return (this->undefinedReferences.size() == 0ull);
}
I also attached a reporter to the ES which will handle “llvm::orc::SymbolsNotFound” by copying SymbolVector to the “undefinedReferences”. If I call this function and have every symbol resolved, then I can use the addresses to actually execute them. That is great! However, when I have an undefined Reference, things get strange… The first call will trigger my “tryToGenerate” functi...