coverage. Add coverage-options=mcdc as gate for MC/DC instrument

This commit is contained in:
zhuyunxing 2024-04-19 10:43:53 +08:00
parent e3181b091e
commit 68f86381ee
10 changed files with 40 additions and 15 deletions

View file

@ -758,7 +758,7 @@ fn test_unstable_options_tracking_hash() {
);
tracked!(codegen_backend, Some("abc".to_string()));
tracked!(collapse_macro_debuginfo, CollapseMacroDebuginfo::Yes);
tracked!(coverage_options, CoverageOptions { branch: true });
tracked!(coverage_options, CoverageOptions { branch: true, mcdc: true });
tracked!(crate_attr, vec!["abc".to_string()]);
tracked!(cross_crate_inline_threshold, InliningThreshold::Always);
tracked!(debug_info_for_profiling, true);