llvm::ExecutionEngine::DisableGVCompilation

Abort if asked to materialize a non-internal GlobalVariable.

Synopsis

Declared in <llvm/ExecutionEngine/ExecutionEngine.h>

void
DisableGVCompilation(bool Disabled = true);

Description

If called, the JIT will abort if it's asked to allocate space and populate a GlobalVariable that is not internal to the module.

Parameters

NameDescription
DisabledIf true, disallow compiling external globals.