Displaying 4 results from an estimated 4 matches for "_plansch_test".
2020 Sep 28
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...yone,
I felt this question is different from my other question - hope this is okay.
So - I was playing around with the lookup function of the ExecutionSession and there are some things I don't understand.
I have a .BC file with a function "?Sampler@@YAXXZ" referencing a value "?_Plansch_test@@3HA" that is not defined in that module itself. I first planed on not providing an address for "?_Plansch_test@@3HA" but wanted to know the address of "?Sampler@@YAXXZ". So I issued something like that:
auto &ES = this->jit->getExecutionSession()...
2020 Sep 29
3
ORC JIT - different behaviour of ExecutionSession.lookup?
...LVM 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) addresses are assigned before external r...
2020 Sep 30
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...uld be easy because when we load stuff, we give them a hierarchical name like “Parent_Child_Child_Dino”
So "?Sampler@@YAXXZ" Could be renamed to "Parent_Child_Child_Dino_?Sampler@@YAXXZ".
If I encounter an undefined reference that is not part of the standard library like "?_Plansch_test@@3HA" Then I would extract the relative path and convert it to an absolute one, getting: “Parent_Child__Plansch_? test@@3HA”. When the “Plansch” module was loaded, I would have give it an unique name as well so they would fit. I would then add them to there own DyLibs and would be happy… would...
2020 Oct 01
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...uld be easy because when we load stuff, we give them a hierarchical name like “Parent_Child_Child_Dino”
So "?Sampler@@YAXXZ" Could be renamed to "Parent_Child_Child_Dino_?Sampler@@YAXXZ".
If I encounter an undefined reference that is not part of the standard library like "?_Plansch_test@@3HA" Then I would extract the relative path and convert it to an absolute one, getting: “Parent_Child__Plansch_? test@@3HA”. When the “Plansch” module was loaded, I would have give it an unique name as well so they would fit. I would then add them to there own DyLibs and would be happy… would...