rust-lang / rustc_codegen_cranelift

Cranelift based backend for rustc
Apache License 2.0
1.59k stars 100 forks source link

.debug_str wrong #1496

Closed limuy2022 closed 3 months ago

limuy2022 commented 3 months ago

I have reported it to the author of mold before.there are the details.(Without cranelift the warning and error will disappear so I report this here)

philipc commented 3 months ago

https://github.com/gimli-rs/object/pull/694 is the first step to fixing this.

bjorn3 commented 3 months ago

Should be fixed now on the master branch. Will sync it to the rust repo later.

philipc commented 3 months ago

.debug_line_str needs it too.

bjorn3 commented 3 months ago

Fixed in 126fd7c3.