Add an equivalent to -grecord-command-line/-grecord-gcc-switches #133224
Labels
A-CLI
Area: Command-line interface (CLI) to the compiler
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-debugging
Working group: Bad Rust debugging experiences
Other widely used compilers (gcc, clang, etc) have the ability to record their command line arguments in the debug information (for DWARF in the DW_AT_producer field). Rustc currently hardcodes this to "" when calling LLVMRustDIBuilderCreateCompileUnit.
@rustbot label +A-debuginfo +WG-debugging
The text was updated successfully, but these errors were encountered: