1
Fork 0

Add pass to identify undefined or erroneous behaviour

This commit is contained in:
Tomasz Miąsko 2023-12-12 00:00:00 +00:00
parent 920e0051cf
commit 7a246ddd8e
7 changed files with 95 additions and 49 deletions

View file

@ -1694,6 +1694,8 @@ options! {
"link native libraries in the linker invocation (default: yes)"),
link_only: bool = (false, parse_bool, [TRACKED],
"link the `.rlink` file generated by `-Z no-link` (default: no)"),
lint_mir: bool = (false, parse_bool, [UNTRACKED],
"lint MIR before and after each transformation"),
llvm_module_flag: Vec<(String, u32, String)> = (Vec::new(), parse_llvm_module_flag, [TRACKED],
"a list of module flags to pass to LLVM (space separated)"),
llvm_plugins: Vec<String> = (Vec::new(), parse_list, [TRACKED],