mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Auto merge of #83500 - camelid:split-debuginfo-docs-cleanup, r=steveklabnik
Fix some typos in docs for `-C split-debuginfo`
This commit is contained in:
commit
010c2368fa
@ -497,19 +497,19 @@ point instructions in software. It takes one of the following values:
|
|||||||
This option controls the emission of "split debuginfo" for debug information
|
This option controls the emission of "split debuginfo" for debug information
|
||||||
that `rustc` generates. The default behavior of this option is
|
that `rustc` generates. The default behavior of this option is
|
||||||
platform-specific, and not all possible values for this option work on all
|
platform-specific, and not all possible values for this option work on all
|
||||||
platform. Possible values are:
|
platforms. Possible values are:
|
||||||
|
|
||||||
* `off` - This is the default for platforms with ELF binaries and windows-gnu
|
* `off` - This is the default for platforms with ELF binaries and windows-gnu
|
||||||
(not Windows MSVC and not macOS). This typically means that dwarf debug
|
(not Windows MSVC and not macOS). This typically means that DWARF debug
|
||||||
information can be found in the final artifact in sections of the executable.
|
information can be found in the final artifact in sections of the executable.
|
||||||
This option is not supported on Windows MSVC. On macOS this options prevents
|
This option is not supported on Windows MSVC. On macOS this options prevents
|
||||||
the final execution of `dsymutil` to generate debuginfo.
|
the final execution of `dsymutil` to generate debuginfo.
|
||||||
|
|
||||||
* `packed` - This is the default for Windows MSVC and macOS platforms. The term
|
* `packed` - This is the default for Windows MSVC and macOS. The term
|
||||||
"packed" here means that all the debug information is packed into a separate
|
"packed" here means that all the debug information is packed into a separate
|
||||||
file from the main executable. On Windows MSVC this is a `*.pdb` file, on
|
file from the main executable. On Windows MSVC this is a `*.pdb` file, on
|
||||||
macOS this is a `*.dSYM` folder, and on other platforms this is a `*.dwp`
|
macOS this is a `*.dSYM` folder, and on other platforms this is a `*.dwp`
|
||||||
files.
|
file.
|
||||||
|
|
||||||
* `unpacked` - This means that debug information will be found in separate
|
* `unpacked` - This means that debug information will be found in separate
|
||||||
files for each compilation unit (object file). This is not supported on
|
files for each compilation unit (object file). This is not supported on
|
||||||
@ -517,7 +517,7 @@ platform. Possible values are:
|
|||||||
debug information. On other Unix platforms this means that `*.dwo` files will
|
debug information. On other Unix platforms this means that `*.dwo` files will
|
||||||
contain debug information.
|
contain debug information.
|
||||||
|
|
||||||
Note that `packed` and `unpacked` gated behind `-Zunstable-options` on
|
Note that `packed` and `unpacked` are gated behind `-Z unstable-options` on
|
||||||
non-macOS platforms at this time.
|
non-macOS platforms at this time.
|
||||||
|
|
||||||
## target-cpu
|
## target-cpu
|
||||||
|
Loading…
Reference in New Issue
Block a user