← Back to index
|
Original Bugzilla link
Bug 19016 – No file names and line numbers in stack trace for shared libraries
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-06-22T21:35:18Z
Last change time
2024-12-13T18:59:12Z
Assigned to
No Owner
Creator
Mike Franklin
See also
https://issues.dlang.org/show_bug.cgi?id=18068
Moved to GitHub: dmd#17865 →
Comments
Comment #0
by slavo5150 — 2018-06-22T21:35:18Z
--- lib.d module lib; void exception() { throw new Exception("exception"); } $ dmd -shared -g lib.d --- main.d void main() { import lib; exception(); } $dmd -g main.d -L-R -L. -L-L. -L-l:lib.so $./main
[email protected]
(5): exception ---------------- ??:? void lib.exception() [0x9c4f864f] # No file or line numbers in stack trace main.d:4 _Dmain [0x7ebf3d60]
Comment #1
by slavo5150 — 2018-06-22T22:47:37Z
PR
https://github.com/dlang/druntime/pull/2172
has some tests for this, but the implementation currently isn't working.
Comment #2
by robert.schadek — 2024-12-13T18:59:12Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/17865
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB