Open
Description
This is a tracking issue for the -Z no-unique-section-names
debugging option which can reduce the size of object files for ELF targets when using the LLVM codegen backend.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Implementation steps
- Docs: https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/no-unique-section-names.html
- Implementation: Add -Z no-unique-section-names to reduce ELF header bloat. #89581
- Stabilization PR (see instructions on rustc-dev-guide)
Unresolved questions
- Is this flag supposed to have any effect on non-ELF object files on non-ELF targets?
Implementation history
Metadata
Metadata
Assignees
Labels
Area: Command-line interface (CLI) to the compilerArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: binary formats (e.g. ELF, XCOFF, etc.)Category: An issue tracking the progress of sth. like the implementation of an RFCStatus: There are blocking design concerns.Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Relevant to the compiler team, which will review and decide on the PR/issue.