about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorzhuyunxing <zhuyunxing.zyx@alibaba-inc.com>2024-04-19 10:43:53 +0800
committerzhuyunxing <zhuyunxing.zyx@alibaba-inc.com>2024-04-19 10:43:53 +0800
commit68f86381ee9a5af00a6071773d54c00f032fe385 (patch)
tree1390c8e2a3421656537a1a69dbe1c89bf66d5766 /src/doc/rustc
parente3181b091e88321f5ea149afed6db0edf0a4f37b (diff)
downloadrust-68f86381ee9a5af00a6071773d54c00f032fe385.tar.gz
rust-68f86381ee9a5af00a6071773d54c00f032fe385.zip
coverage. Add coverage-options=mcdc as gate for MC/DC instrument
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/src/instrument-coverage.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc/src/instrument-coverage.md b/src/doc/rustc/src/instrument-coverage.md
index 185a3ba5dbd..bbd81e7437c 100644
--- a/src/doc/rustc/src/instrument-coverage.md
+++ b/src/doc/rustc/src/instrument-coverage.md
@@ -351,8 +351,8 @@ $ llvm-cov report \
 This unstable option provides finer control over some aspects of coverage
 instrumentation. Pass one or more of the following values, separated by commas.
 
-- `branch` or `no-branch`
-  - Enables or disables branch coverage instrumentation.
+- Either `no-branch`, `branch` or `mcdc`
+  - `branch` enables branch coverage instrumentation and `mcdc` further enables modified condition/decision coverage instrumentation. `no-branch` disables branch coverage instrumentation, which is same as do not pass `branch` or `mcdc`.
 
 ## Other references