LLVMContext

Hi,

getGlobalContext() has been removed a few years ago.
You need to manage the lifetime of the context yourself. If you want to get the previous behavior, you can likely just add to your project:

LLVMContext &getGlobalContext() {
static LLVMContext context;
return context;
}

1 Like