diff options
author | Julia Tatz <tatz.j@northeastern.edu> | 2021-04-06 16:00:35 -0400 |
---|---|---|
committer | Jynn Nelson <jyn.nelson@redjack.com> | 2023-03-31 07:28:39 -0400 |
commit | 0504a333837e10f19454901fd060c0f99bf8f5b7 (patch) | |
tree | 2e398745b33d84894ee367bf07d77bdc14e075fc /tests/rustdoc-ui | |
parent | eb3e9c1f45981b47160543cfd882ca00e69bbfab (diff) | |
download | rust-0504a333837e10f19454901fd060c0f99bf8f5b7.tar.gz |
Preserve, clarify, and extend debug information
`-Cdebuginfo=1` was never line tables only and
can't be due to backwards compatibility issues.
This was clarified and an option for line tables only
was added. Additionally an option for line info
directives only was added, which is well needed for
some targets. The debug info options should now
behave the same as clang's debug info options.
Diffstat (limited to 'tests/rustdoc-ui')
-rw-r--r-- | tests/rustdoc-ui/c-help.stdout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/c-help.stdout b/tests/rustdoc-ui/c-help.stdout index 75b2e2a2a43..0bd2d73efee 100644 --- a/tests/rustdoc-ui/c-help.stdout +++ b/tests/rustdoc-ui/c-help.stdout @@ -3,7 +3,7 @@ -C codegen-units=val -- divide crate into N units to optimize in parallel -C control-flow-guard=val -- use Windows Control Flow Guard (default: no) -C debug-assertions=val -- explicitly enable the `cfg(debug_assertions)` directive - -C debuginfo=val -- debug info emission level (0 = no debug info, 1 = line tables only, 2 = full debug info with variable and type information; default: 0) + -C debuginfo=val -- debug info emission level (0-2, none, line-directives-only, line-tables-only, limited, or full; default: 0) -C default-linker-libraries=val -- allow the linker to link its default libraries (default: no) -C embed-bitcode=val -- emit bitcode in rlibs (default: yes) -C extra-filename=val -- extra data to put in each output filename |