[llvm-dev] LLVMContext
Abid Malik via llvm-dev
llvm-dev at lists.llvm.org
Sat Jan 25 16:51:53 PST 2020
Hello,
Is getGlobalContext() still available? I could not find it in the
LLVMContext.h.
I am trying to initialize the context as :
static LLVMContext &Context;
static Module *ModuleOb = new Module("test compiler", Context);
and getting an error:
error: use of undeclared identifier 'getGlobalContext'
static LLVMContext &Context = getGlobalContext();
Thanks,
--
Abid M. Malik
******************************************************
"I have learned silence from the talkative, toleration from the intolerant,
and kindness from the unkind"---Gibran
"Success is not for the chosen few, but for the few who choose" --- John
Maxwell
"Being a good person does not depend on your religion or status in life,
your race or skin color, political views or culture. IT DEPENDS ON HOW GOOD
YOU TREAT OTHERS"--- Abid
"The Universe is talking to us, and the language of the Universe is
mathematics."----Abid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200125/a26e8260/attachment.html>
More information about the llvm-dev
mailing list