How's the integration of DWARF support coming along?

Johan Tibell johan.tibell at gmail.com
Wed Aug 13 15:13:17 UTC 2014


On Wed, Aug 13, 2014 at 5:07 PM, Tuncer Ayaz <tuncer.ayaz at gmail.com> wrote:

> On Wed, Aug 13, 2014 at 5:02 PM, Johan Tibell wrote:
> > Hi,
> >
> > How's the integration of DWARF support coming along? It's probably
> > one of the most important improvements to the runtime in quite some
> > time since unlocks *two* important features, namely
> >
> >  * trustworthy profiling (using e.g. Linux perf events and other
> > low-overhead, code preserving, sampling profilers), and
> >  * stack traces.
> >
> > The former is really important to move our core libraries
> > performance up a notch. Right now -prof is too invasive for it to be
> > useful when evaluating the hotspots in these libraries (which are
> > already often heavily tuned).
> >
> > The latter one is really important for real life Haskell on the
> > server, where you can sometimes can get some crash that only happens
> > once a day under very specific conditions. Knowing where the crash
> > happens is then *very* useful.
>
> Doesn't it also enable using gdb and lldb, or is there another missing
> piece?
>

No, those should also work. It enables *a lot* of generic infrastructure
that programmers has written over the years.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140813/ad852c70/attachment.html>


More information about the ghc-devs mailing list