Thread overview
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
Feb 27, 2018
Timothee Cour
Jul 02, 2018
greenify
Dec 17, 2022
Iain Buclaw
February 10, 2018
https://issues.dlang.org/show_bug.cgi?id=8172
Issue 8172 depends on issue 8207, which changed state.

Issue 8207 Summary: OS X: Should extern(D) symbols include another underscore? https://issues.dlang.org/show_bug.cgi?id=8207

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
February 27, 2018
https://issues.dlang.org/show_bug.cgi?id=8172

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com

--- Comment #14 from Timothee Cour <timothee.cour2@gmail.com> ---
I have a working patch:

see instructions here:
https://github.com/timotheecour/dtools/blob/master/dtools/lldbdplugin.d
it involves dlopen'ing a D shared library + applying this patch build lldb with
https://github.com/llvm-mirror/lldb/pull/3

example results of resulting backtrace shown here: https://github.com/llvm-mirror/lldb/pull/3

--
July 02, 2018
https://issues.dlang.org/show_bug.cgi?id=8172

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #15 from greenify <greeenify@gmail.com> ---
With 2.081 (https://dlang.org/changelog/2.081.0.html), line numbers in stack traces finally come to OSX:

https://dlang.org/changelog/2.081.0.html#backtrace_debug_info_macos

On Linux they have been working for a while, but there were some issues with PIC which have been fixed in 2.081 too.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=8172

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--