Hi all,
are there any plans to correct/implement the "getPointerToGlobal()" method for accessing global variables that are emitted by MCJIT?
(see for details the unit test of MCJIT)
Best Regards
Armin
Hi all,
are there any plans to correct/implement the "getPointerToGlobal()" method for accessing global variables that are emitted by MCJIT?
(see for details the unit test of MCJIT)
Best Regards
Armin
As far as I know, no one is working to fix the test case in question. Patches welcome
Cheers,
Dan
It shouldn't be a terribly difficult thing to implement. The RuntimeDyld already keeps a map of global symbols and provides a function getSymbolLoadAddress to get an up-to-date address for a named symbol. It should be just a matter of connecting the dots.
-Andy