-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking issue for -Z strip=val option #72110
Copy link
Copy link
Closed
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Option
-Z strip=valcontrols stripping of debuginfo and similar auxiliary data from binariesduring linking.
Supported values for this option are:
none- debuginfo and symbols (if they exist) are copied to the produced binary or separate filesdepending on the target (e.g.
.pdbfiles in case of MSVC).debuginfo- debuginfo sections and debuginfo symbols from the symbol table sectionare stripped at link time and are not copied to the produced binary or separate files.
symbols- same asdebuginfo, but the rest of the symbol table section is stripped as wellif the linker supports it.
History:
-Z strip=valoption #72111.