Thread overview
[Issue 11870] replace dynamic symbol table (--export-dynamic) for backtraces
Aug 01, 2014
Martin Nowak
Sep 28, 2016
Martin Nowak
Sep 28, 2016
Martin Nowak
May 03, 2020
Mathias LANG
Dec 17, 2022
Iain Buclaw
August 01, 2014
https://issues.dlang.org/show_bug.cgi?id=11870

yazan.dabain@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yazan.dabain@gmail.com

--- Comment #2 from yazan.dabain@gmail.com ---
I've just pushed an implementation for resolving addresses to lines using DWARFv2/3 debug info that uses no external dependencies.

The implementation is not suitable for druntime, but it can be used as a guide.

https://github.com/yazd/elf-d

--
August 01, 2014
https://issues.dlang.org/show_bug.cgi?id=11870

--- Comment #3 from Martin Nowak <code@dawg.eu> ---
Great, this looks really interesting.
It shouldn't be too hard to make a traceHandler out of this.

--
May 26, 2015
https://issues.dlang.org/show_bug.cgi?id=11870

Maurice van der Pot <griffon26@kfk4ever.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |griffon26@kfk4ever.com

--
September 28, 2016
https://issues.dlang.org/show_bug.cgi?id=11870

Martin Nowak <code@dawg.eu> changed:

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

--- Comment #4 from Martin Nowak <code@dawg.eu> ---
Fixed by https://github.com/dlang/druntime/pull/1354, implementation is a bit inefficient and uses the GC though.

--
September 28, 2016
https://issues.dlang.org/show_bug.cgi?id=11870

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang@jmdavisProg.co
                   |                            |m

--- Comment #5 from Martin Nowak <code@dawg.eu> ---
*** Issue 7454 has been marked as a duplicate of this issue. ***

--
September 28, 2016
https://issues.dlang.org/show_bug.cgi?id=11870

--- Comment #6 from yazan.dabain@gmail.com ---
I don't think this should be closed. The implementation only provides file and
line information. Function names are still extracted using `backtrace_symbols`
which, AFAIR, need `--export-dynamic`.
BTW, the reason that the implementation is not @nogc is
`core.demangle.demangle` function only.

--
May 03, 2020
https://issues.dlang.org/show_bug.cgi?id=11870

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |symdeb
           Priority|P2                          |P1
             Status|RESOLVED                    |REOPENED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|FIXED                       |---
           Severity|normal                      |major

--- Comment #7 from Mathias LANG <pro.mathias.lang@gmail.com> ---
Yep, this is not fixed, we still rely on backtrace_symbols, and the whole backtrace code in druntime is quite lacking.

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--