Displaying 7 results from an estimated 7 matches for "findmoduleforsymbol".
2013 Oct 19
2
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
...t not
loaded) modules, since it has to (possibly) search for the correct module
while old code directly searches the correct module.
To solve the issue, getFunctionAddress could get an optional Module "hint"
(=NULL by default) which - if provided - will make getSymbolAddress skip
calling findModuleForSymbol (a very slow operation) and instead directly
use the Module provided.
Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131020/04318b9d/attachment.html>
2013 Oct 21
2
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
...d) modules, since it has to (possibly) search for the correct module while old code directly searches the correct module.
>
> To solve the issue, getFunctionAddress could get an optional Module "hint" (=NULL by default) which - if provided - will make getSymbolAddress skip calling findModuleForSymbol (a very slow operation) and instead directly use the Module provided.
>
> Yaron
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-...
2013 Oct 21
0
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
...t not loaded) modules, since it has to (possibly) search for the correct module while old code directly searches the correct module.
To solve the issue, getFunctionAddress could get an optional Module "hint" (=NULL by default) which - if provided - will make getSymbolAddress skip calling findModuleForSymbol (a very slow operation) and instead directly use the Module provided.
Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131021/c12049fe/attachment.html>
2016 Jul 07
2
ObjectCache and getFunctionAddress issue
Hi all,
I'm trying to add pre-compiled object cache to my run-time.
I've implemented the object cache as follow:
class EngineObjectCache : public llvm::ObjectCache {
private:
std::unordered_map<std::string, std::unique_ptr<llvm::MemoryBuffer>>
CachedObjs;
public:
virtual void notifyObjectCompiled(const llvm::Module *M,
llvm::MemoryBufferRef Obj) {
auto id =
2013 Oct 21
0
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
...t not loaded) modules, since it has to (possibly) search for the correct module while old code directly searches the correct module.
To solve the issue, getFunctionAddress could get an optional Module "hint" (=NULL by default) which - if provided - will make getSymbolAddress skip calling findModuleForSymbol (a very slow operation) and instead directly use the Module provided.
Yaron
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu<mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-...
2013 Oct 22
2
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
...d) modules, since it has to (possibly) search for the correct module while old code directly searches the correct module.
>
> To solve the issue, getFunctionAddress could get an optional Module "hint" (=NULL by default) which - if provided - will make getSymbolAddress skip calling findModuleForSymbol (a very slow operation) and instead directly use the Module provided.
>
> Yaron
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-...
2013 Oct 22
0
[LLVMdev] An enhancement for MCJIT::getFunctionAddress
...s to (possibly) search for the correct module
> while old code directly searches the correct module.****
> ****
> To solve the issue, getFunctionAddress could get an optional Module "hint"
> (=NULL by default) which - if provided - will make getSymbolAddress skip
> calling findModuleForSymbol (a very slow operation) and instead directly
> use the Module provided.****
> ****
> Yaron****
> ****
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailma...