[#llvm-lintModule] = xref:llvm.adoc[llvm]::lintModule :relfileprefix: ../ :mrdocs: Lint a module. == Synopsis Declared in `<llvm/Analysis/Lint.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void lintModule( xref:llvm/Module.adoc[Module] const& M, bool AbortOnError = false); ---- == Description This should only be used for debugging, because it plays games with PassManagers and stuff. == Parameters [cols="1,4"] |=== | Name| Description | *M* | Module to lint. | *AbortOnError* | If true, abort when lint finds errors. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#