On OSX, the linker strips .debug_lines, which makes the backtrace code in Druntime non-functional.
LDC already has a workaround for this (here), however this workaround requires to compile against a modified version of LLVM.
So if one downloads the release from Github, things work correctly, but for Homebrew users (who build from source), line numbers aren't shown by default.
Is there any chance that the patch can be upstreamed so people linking against stock LLVM can benefit from it ?
On OSX, the linker strips
.debug_lines, which makes the backtrace code in Druntime non-functional.LDC already has a workaround for this (here), however this workaround requires to compile against a modified version of LLVM.
So if one downloads the release from Github, things work correctly, but for Homebrew users (who build from source), line numbers aren't shown by default.
Is there any chance that the patch can be upstreamed so people linking against stock LLVM can benefit from it ?