Back to Rust

`lint-llvm-ir`

src/doc/unstable-book/src/compiler-flags/lint-llvm-ir.md

1.97.1269 B
Original Source

lint-llvm-ir


This flag will add LintPass to the start of the pipeline. You can use it to check for common errors in the LLVM IR generated by rustc. You can add -Cllvm-args=-lint-abort-on-error to abort the process if errors were found.