Update coverage docs and command line help
This commit is contained in:
parent
603a42ec54
commit
f58a362d18
4 changed files with 132 additions and 83 deletions
|
@ -1056,12 +1056,12 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
|
|||
"gather statistics about the input (default: no)"),
|
||||
instrument_coverage: Option<InstrumentCoverage> = (None, parse_instrument_coverage, [TRACKED],
|
||||
"instrument the generated code to support LLVM source-based code coverage \
|
||||
reports (note, the compiler build config must include `profiler = true`, \
|
||||
and is mutually exclusive with `-C profile-generate`/`-C profile-use`); \
|
||||
implies `-Z symbol-mangling-version=v0`; disables/overrides some Rust \
|
||||
optimizations. Optional values are: `=all` (default coverage), \
|
||||
`=except-unused-generics`, `=except-unused-functions`, or `=off` \
|
||||
(default: instrument-coverage=off)"),
|
||||
reports (note, the compiler build config must include `profiler = true`); \
|
||||
implies `-Z symbol-mangling-version=v0`. Optional values are:
|
||||
`=all` (implicit value)
|
||||
`=except-unused-generics`
|
||||
`=except-unused-functions`
|
||||
`=off` (default)"),
|
||||
instrument_mcount: bool = (false, parse_bool, [TRACKED],
|
||||
"insert function instrument code for mcount-based tracing (default: no)"),
|
||||
keep_hygiene_data: bool = (false, parse_bool, [UNTRACKED],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue