Displaying 5 results from an estimated 5 matches for "calledfnname".
2016 Jul 28
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...auto LDI = LogicalDylibs.begin();
+ for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
+ if (auto LMResources =
LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
+ Module &SrcM = LMResources->SourceModule->getResource();
+ std::string CalledFnName = mangle(FuncName,
SrcM.getDataLayout());
+ if (auto EC =
LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) {
+ return 0;
+ }
+ else
+ return FnBodyAddr;
+ }
+ }
+ return 0;
+ }
+
+private:
diff --git...
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...bs.begin();
> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
> + if (auto LMResources =
> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
> + Module &SrcM = LMResources->SourceModule->getResource();
> + std::string CalledFnName = mangle(FuncName,
> SrcM.getDataLayout());
> + if (auto EC =
> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) {
> + return 0;
> + }
> + else
> + return FnBodyAddr;
> + }
> + }...
2016 Jul 29
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...+ for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
>> + if (auto LMResources =
>> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
>> + Module &SrcM = LMResources->SourceModule->getResource();
>> + std::string CalledFnName = mangle(FuncName,
>> SrcM.getDataLayout());
>> + if (auto EC =
>> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) {
>> + return 0;
>> + }
>> + else
>> + return FnBodyAddr;...
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
>>> + if (auto LMResources =
>>> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
>>> + Module &SrcM = LMResources->SourceModule->getResource();
>>> + std::string CalledFnName = mangle(FuncName,
>>> SrcM.getDataLayout());
>>> + if (auto EC =
>>> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) {
>>> + return 0;
>>> + }
>>> + else
>>> +...
2016 Jul 30
1
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...ibs.end(); LDI != LDE; ++LDI) {
>>>> + if (auto LMResources =
>>>> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
>>>> + Module &SrcM = LMResources->SourceModule->getResource();
>>>> + std::string CalledFnName = mangle(FuncName,
>>>> SrcM.getDataLayout());
>>>> + if (auto EC =
>>>> LMResources->StubsMgr->updatePointer(CalledFnName, FnBodyAddr)) {
>>>> + return 0;
>>>> + }
>>>> + e...