llvm::GlobalValue::setParent

Set the module that contains this global value.

Synopsis

Declared in <llvm/IR/GlobalValue.h>

void
setParent(Module* parent);

Parameters

NameDescription
parentThe containing module, or null.