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.