[LLVMdev] Can I get the value of the global variable defined in some module (JITing)

lost lostfreeman at gmail.com
Wed May 18 02:29:11 PDT 2011


Ok, another explanation. In my runtime that uses LLVM as JIT engine, I
have an instnace of GlobalVariable. The program I run in it writes
some value to this variable. How can I read it?

2011/5/18 Duncan Sands <baldrick at free.fr>:
> Hi,
>
>> I need to define the global variable which would be modified by JITted
>> code. Can I read it from the JITter itself? It is of pointer type.
>
> I'm not sure what you are asking, can you please be more explicit/detailed.
>
> Ciao, Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list