Open inflation opened 7 months ago
This seems to be an issue after artifact uplifting in Cargo
If I understand correctly, objdump -d binary
should just work if no binary.dSYM
co-exists. The dSYM bundle under target/release/testing.dSYM
is a symlink to the actual dSYM at target/release/deps/testing-297be036e0344749.dSYM
. And should be sufficient to use it with lldb
to debug.
I am not sure if the name mismatch affects things other than objdump -d
.
Rename the file or remove the bundle both works. I assume that objdump
takes dSYM
file for priority.
Problem
Wrong filename for the DWARF file inside the
.dSYM
bundle.Steps
cargo new testing
split-debuginfo = "packed"
incargo.toml
cargo build
objdump -d target/debug/testing
ls target/release/testing.dSYM/Contents/Resources/DWARF
Possible Solution(s)
Strip id when creating the debug bundle
Notes
No response
Version