bad location list debug info #67992
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling this program produces bad debug info in the location list entry for argument "a" of function "foo". GDB crashes on it, which is GDB's problem (https://sourceware.org/bugzilla/show_bug.cgi?id=25353), but Rust should also not generate bad debug info.
Note the entries saying "a" lives in rcx and rsi (that is the value of "a" lives in the register, not its address).
The text was updated successfully, but these errors were encountered: