search for: newsymbols

Displaying 8 results from an estimated 8 matches for "newsymbols".

2019 Sep 12
2
Questions after completed Kaleidoscope Chapter 1
...tood, that the "Parent" will be the value from "ES.getMainJITDylib()" while "Names" will have the names that should be resolved. I saw an implementation for the Generator function that kinda looked like that: { orc::SymbolNameSet Added; orc::SymbolMap NewSymbols; for(auto &Name : Names) { Added.insert(Name); NewSymbols[Name] = //Something } Parent.define(absoluteSymbols(std::move(NewSymbols))); return Added; } I understood that "SymbolMap NewSymbols" will store a pair of nam...
2013 Aug 27
1
[LLVMdev] [lld] adding deadStrip() to undefined Atoms
Hi Nick, On 8/27/2013 12:45 AM, Nick Kledzik wrote: > On Aug 26, 2013, at 10:20 PM, Shankar Easwaran wrote: >> Can we add deadStrip() to undefinedAtoms as well ? >> >> This will enable to choose whether we want to set the property deadStripNormal or deadStripNever on them. >> >> Also I think it will be cleaner for atoms to be added to deadStripRoot set using a
2019 Sep 12
2
Questions after completed Kaleidoscope Chapter 1
...he value from > “ES.getMainJITDylib()” while “Names” will have the names that should be > resolved. I saw an implementation for the Generator function that kinda > looked like that: > > { > > > > orc::SymbolNameSet Added; > > > > orc::SymbolMap NewSymbols; > > > > > > > > for(auto &Name : Names) > > > > { > > > > Added.insert(Name); > > > > NewSymbols[Name] = //Something > > > > } > > > > > > > > Parent....
2013 Aug 27
0
[LLVMdev] [lld] adding deadStrip() to undefined Atoms
On Aug 26, 2013, at 10:20 PM, Shankar Easwaran wrote: > Can we add deadStrip() to undefinedAtoms as well ? > > This will enable to choose whether we want to set the property deadStripNormal or deadStripNever on them. > > Also I think it will be cleaner for atoms to be added to deadStripRoot set using a single API. Can you give more more background on this? When would you want
2013 Aug 27
3
[LLVMdev] [lld] adding deadStrip() to undefined Atoms
Hi, Can we add deadStrip() to undefinedAtoms as well ? This will enable to choose whether we want to set the property deadStripNormal or deadStripNever on them. Also I think it will be cleaner for atoms to be added to deadStripRoot set using a single API. Thanks Shankar Easwaran -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
2020 Sep 23
2
ORC JIT - Can modules independently managed with one LLJIT instance? + problems with ExecutionSession.lookup
...:Error ReferenceManager::UndefinedReferenceResolver :: tryToGenerate(llvm::orc::LookupKind K, llvm::orc::JITDylib &JD, llvm::orc::JITDylibLookupFlags JDLookupFlags, const llvm::orc::SymbolLookupSet &LookupSet) { llvm::orc::SymbolNameVector notFound; llvm::orc::SymbolMap NewSymbols; for(const auto &name : LookupSet) { printf("Generate!\n"); const uintptr_t adr = UndefinedReferenceResolver::lookup((*name.first).data()); if(adr) { NewSymbols[name.first] = llvm::JITEvaluatedSymbo...
2020 Sep 24
2
ORC JIT - Can modules independently managed with one LLJIT instance? + problems with ExecutionSession.lookup
...:Error ReferenceManager::UndefinedReferenceResolver :: tryToGenerate(llvm::orc::LookupKind K, llvm::orc::JITDylib &JD, llvm::orc::JITDylibLookupFlags JDLookupFlags, const llvm::orc::SymbolLookupSet &LookupSet) { llvm::orc::SymbolNameVector notFound; llvm::orc::SymbolMap NewSymbols; for(const auto &name : LookupSet) { printf("Generate!\n"); const uintptr_t adr = UndefinedReferenceResolver::lookup((*name.first).data()); if(adr) { NewSymbols[name.first] = llvm::JITEvaluatedSymbo...
2020 Oct 01
2
ORC JIT - different behaviour of ExecutionSession.lookup?
Hey Lang, Woah! That mail contains a lot of information and things I never tried yet… Actually… the entire MaterializationUnit and MaterializationResponsibility part is… quite… overwhelming >O< With “pop up” I mean… the process which is waiting for Module “Planschi” to “pop up” can not do a thing about it. It just waits until there is an table entry for it, indicating that the object file