[LLVMdev] Access a specific address in the JIT compiler

Camille Troillard camille at osculator.net
Thu Jun 11 04:23:29 PDT 2009


On Thu, Jun 11, 2009 at 1:17 PM, Olivier
Meurant<meurant.olivier at gmail.com> wrote:
> This seems to be the "proper" way to do that.
>
> Another possibility, is to create a ConstantInt with the size of the pointer
> (found in TargetData), then do a IntToPtr cast, and use this absolute
> address in load/store/call.

Thanks Olivier, this is what I was looking for.



More information about the llvm-dev mailing list