[LLVMdev] Global variables

Jasmin Jahic jasmin.jahic at gmail.com
Mon Apr 7 08:03:43 PDT 2014


Hello,

I've been playing lately a lot with LLVM. In the documentation that I have
read, it is said that LLVM Context should provide memory isolation.
However, is it possible to do opposite? I would like to have few modules,
execution within the same execution context and have them accessing the
same global variables.

P.S
I have tried using getGlobalContext, but I get an error stating that this
is a private member. Am I on the right path?

Best regards,
Jasmin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140407/251d7b4d/attachment.html>


More information about the llvm-dev mailing list