Libdw: Add libdw-based stack unwinding
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 17 Oct 2015 14:44:01 +0000 (16:44 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 17 Oct 2015 14:51:32 +0000 (16:51 +0200)
commita6a3dabc9e6b1cfc2f4047d2d09efe634affb120
tree89d75773c681bc0e5ade094e6ffc887fa05f36ee
parentfff02548d237655dea39f108364d7ebe6d0e122d
Libdw: Add libdw-based stack unwinding

This adds basic support to the RTS for DWARF-assisted unwinding of the
Haskell and C stack via libdw. This only adds the infrastructure;
consumers of this functionality will be introduced in future diffs.

Currently we are carrying the initial register collection code in
Libdw.c but this will eventually make its way upstream to libdw.

Test Plan: See future patches

Reviewers: Tarrasch, scpmw, austin, simonmar

Reviewed By: austin, simonmar

Subscribers: simonmar, thomie, erikd

Differential Revision: https://phabricator.haskell.org/D1196

GHC Trac Issues: #10656
compiler/ghc.mk
compiler/main/DynFlags.hs
configure.ac
distrib/configure.ac.in
includes/Rts.h
includes/rts/Libdw.h [new file with mode: 0644]
mk/config.mk.in
rts/Libdw.c [new file with mode: 0644]
rts/Libdw.h [new file with mode: 0644]
rts/ghc.mk
rts/package.conf.in