llvm::LLVMContext::setGC

Define the GC for a function.

Synopsis

Declared in <llvm/IR/LLVMContext.h>

void
setGC(
    Function const& Fn,
    std::string GCName);

Parameters

NameDescription
FnThe function whose GC strategy to set.
GCNameThe name of the garbage collector strategy.