Comment #0 by timothee.cour2 — 2016-03-03T08:38:41Z
dmd -oflibfoo.a -lib -g foo.d
dmd -ofmain -g -L-lfoo main.d
When debugging main with lldb, debug info (eg line numbers) will appear only for symbols in main.d, not for those in the library foo.d
ldc doesn't have this problem (whether using .a or .dyld)
Also somewhat relevant: https://issues.dlang.org/show_bug.cgi?id=15189 [Dwarf debug info is inaccurate]
Comment #1 by robert.schadek — 2024-12-13T18:47:02Z