Lint a module.

Synopsis

Declared in <llvm/Analysis/Lint.h>

void
lintModule(
    Module const& M,
    bool AbortOnError = false);

Description

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

Parameters

Name

Description

M

Module to lint.

AbortOnError

If true, abort when lint finds errors.

Created with MrDocs