Add -Zlint-llvm-ir

This commit is contained in:
DianQK 2024-08-29 18:12:31 +08:00
parent c9bd03cb72
commit 9589eb95d2
No known key found for this signature in database
9 changed files with 26 additions and 4 deletions

View file

@ -793,6 +793,7 @@ fn test_unstable_options_tracking_hash() {
tracked!(instrument_xray, Some(InstrumentXRay::default()));
tracked!(link_directives, false);
tracked!(link_only, true);
tracked!(lint_llvm_ir, true);
tracked!(llvm_module_flag, vec![("bar".to_string(), 123, "max".to_string())]);
tracked!(llvm_plugins, vec![String::from("plugin_name")]);
tracked!(location_detail, LocationDetail { file: true, line: false, column: false });