Use -L--export-dynamic by default
> LDC doesn't enforce the ld option --export-dynamic as DMD does, that's why the stacktrace is missing the symbol names (or rather the stack trace generator in druntime not reading from dwarf debuginfo but from the dynamic symbols table IIRC).

See also:

https://github.com/dlang/dub/issues/1419#issuecomment-375860460
1 parent 537d642 commit 6029faa58f77ea4de4e2bdd77baf613efb37bee0
@Sebastian Wilzbach Sebastian Wilzbach authored on 24 Mar 2018
Showing 1 changed file
View
build.sh