Hello List,
I've (git) cloned the whole project yesterday, and
cannot find the getGlobalContext method at
LLMContext.cpp
Can anyone help ?
Thanks in advanced.
Julio.
Hello List,
I've (git) cloned the whole project yesterday, and
cannot find the getGlobalContext method at
LLMContext.cpp
Can anyone help ?
Thanks in advanced.
Julio.
It would not surprise me if the getGlobalContext() function has been removed. If you’re writing an LLVM pass, it is better to get a reference to the LLVMContext by finding the context associated with the Module that your pass is analyzing or transforming. Many LLVM classes (Module, Function, BasicBlock, etc.) have a getContext() method that will return a reference to the LLVMContext to which the object belongs. You should use these methods to get a reference to the context. Regards, John Criswell
Hi,