June 22, 2018
https://issues.dlang.org/show_bug.cgi?id=19016

          Issue ID: 19016
           Summary: No file names and line numbers in stack trace for
                    shared libraries
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: slavo5150@yahoo.com

--- 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
object.Exception@lib.d(5): exception
----------------
??:? void lib.exception() [0x9c4f864f]  # No file or line numbers in stack
trace
main.d:4 _Dmain [0x7ebf3d60]

--