mold icon indicating copy to clipboard operation
mold copied to clipboard

mold not generate debug symbols on mac m1

Open gfreezy opened this issue 1 year ago • 0 comments

How to reproduce:

cargo new --bin test-mold
cd test-mold
env RUSTFLAGS="-C link-arg=-fuse-ld=/opt/homebrew/bin/ld64.mold" cargo build
dsymutil -s target/debug/test-mold|grep N_OSO

dsymutil outputs no content.

mold version: mold 1.4.1 (800d246ec3b74aaf6a29850fff542c3bd070437f; compatible with GNU ld)

gfreezy avatar Aug 25 '22 03:08 gfreezy