Displaying 5 results from an estimated 5 matches for "fnbodyaddr".
2016 Jul 28
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...erge this in?
diff --git a/CompileOnDemandLayer.h b/CompileOnDemandLayer.h
index bd192b8..4aa3362 100644
--- a/CompileOnDemandLayer.h
+++ b/CompileOnDemandLayer.h
@@ -429,6 +429,28 @@ private:
return CalledAddr;
}
+public:
+ TargetAddress updatePointer(std::string FuncName, TargetAddress
FnBodyAddr) {
+ //Find out which logical dylib contains our symbol
+ auto LDI = LogicalDylibs.begin();
+ for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
+ if (auto LMResources =
LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
+ Module &SrcM = LMResources...
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...h b/CompileOnDemandLayer.h
> index bd192b8..4aa3362 100644
> --- a/CompileOnDemandLayer.h
> +++ b/CompileOnDemandLayer.h
> @@ -429,6 +429,28 @@ private:
> return CalledAddr;
> }
>
> +public:
> + TargetAddress updatePointer(std::string FuncName, TargetAddress
> FnBodyAddr) {
> + //Find out which logical dylib contains our symbol
> + auto LDI = LogicalDylibs.begin();
> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
> + if (auto LMResources =
> LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) {
> +...
2016 Jul 29
2
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...x bd192b8..4aa3362 100644
>> --- a/CompileOnDemandLayer.h
>> +++ b/CompileOnDemandLayer.h
>> @@ -429,6 +429,28 @@ private:
>> return CalledAddr;
>> }
>>
>> +public:
>> + TargetAddress updatePointer(std::string FuncName, TargetAddress
>> FnBodyAddr) {
>> + //Find out which logical dylib contains our symbol
>> + auto LDI = LogicalDylibs.begin();
>> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
>> + if (auto LMResources =
>> LDI->getLogicalModuleResourcesForSymbol(FuncName, false))...
2016 Jul 29
0
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...t; --- a/CompileOnDemandLayer.h
>>> +++ b/CompileOnDemandLayer.h
>>> @@ -429,6 +429,28 @@ private:
>>> return CalledAddr;
>>> }
>>>
>>> +public:
>>> + TargetAddress updatePointer(std::string FuncName, TargetAddress
>>> FnBodyAddr) {
>>> + //Find out which logical dylib contains our symbol
>>> + auto LDI = LogicalDylibs.begin();
>>> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
>>> + if (auto LMResources =
>>> LDI->getLogicalModuleResourcesForSymbo...
2016 Jul 30
1
[ORC JIT] Exposing IndirectStubsManager from CompileOnDemandLayer.h
...>>>> +++ b/CompileOnDemandLayer.h
>>>> @@ -429,6 +429,28 @@ private:
>>>> return CalledAddr;
>>>> }
>>>>
>>>> +public:
>>>> + TargetAddress updatePointer(std::string FuncName, TargetAddress
>>>> FnBodyAddr) {
>>>> + //Find out which logical dylib contains our symbol
>>>> + auto LDI = LogicalDylibs.begin();
>>>> + for (auto LDE = LogicalDylibs.end(); LDI != LDE; ++LDI) {
>>>> + if (auto LMResources =
>>>> LDI->getLogicalMod...