llvm::lintFunction

Lint a function.

Synopsis

Declared in <llvm/Analysis/Lint.h>

void
lintFunction(
    Function const& F,
    bool AbortOnError = false);

Description

This should only be used for debugging, because it plays games with PassManagers and stuff.

Parameters

NameDescription
FFunction to lint.
AbortOnErrorIf true, abort when lint finds errors.