llvm::instrumentor::printRuntimeStub

Print a runtime stub file with the implementation of the instrumentation runtime functions corresponding to the instrumentation opportunities enabled.

Synopsis

Declared in <llvm/Transforms/IPO/InstrumentorStubPrinter.h>

void
printRuntimeStub(
    InstrumentationConfig const& IConf,
    StringRef StubRuntimeName,
    LLVMContext& Ctx);

Parameters

NameDescription
IConfInstrumentation configuration that selects enabled opportunities.
StubRuntimeNamePath of the stub runtime file to write.
CtxLLVM context used to report file I/O errors.