rts: Emit debug information about program to event log
Needs RevisionPublic

Authored by bgamari on Sep 26 2015, 11:26 AM.

Details

Reviewers
scpmw
austin
Trac Issues
#10915
Summary

This commit adds support to the RTS for traversing the debug information
present in a program and emitting it to the event log for later
consumption by debugging and performance analysis tools. This includes
source note, symbol, and address range information derived from the
DWARF annotations produced by GHC.

Test Plan

Test against soon-to-be-released analysis tools

bgamari updated this revision to Diff 4323.Sep 26 2015, 11:26 AM
bgamari retitled this revision from to rts: Emit debug information about program to event log.
bgamari updated this object.
bgamari edited the test plan for this revision. (Show Details)
bgamari added a reviewer: scpmw.
bgamari updated the Trac tickets for this revision.
bgamari updated this revision to Diff 4617.Oct 23 2015, 4:09 AM
bgamari edited edge metadata.
  • Rebased
bgamari updated this revision to Diff 4618.Oct 23 2015, 4:10 AM
bgamari edited edge metadata.

Fix long line

bgamari updated this revision to Diff 4625.Oct 23 2015, 4:46 AM
bgamari edited edge metadata.

Fix CPP guard

bgamari updated this revision to Diff 4630.Oct 23 2015, 6:50 AM
bgamari edited edge metadata.

Add header

bgamari updated this revision to Diff 4631.Oct 23 2015, 6:51 AM
bgamari edited edge metadata.

Add header

bgamari updated this revision to Diff 4634.Oct 23 2015, 7:51 AM
bgamari edited edge metadata.

Fix word-width dependence

bgamari planned changes to this revision.Oct 31 2015, 6:07 PM

This needs to be modified to account for the additional parent relationships introduced in D1387. This likely means that this will become a two-step process: first built an in-memory block tree, then emit it to the event log.

bgamari updated this revision to Diff 4860.Nov 1 2015, 11:04 AM
bgamari edited edge metadata.

Rebase

bgamari updated this revision to Diff 5288.Nov 24 2015, 2:39 AM
bgamari edited edge metadata.

Rebase

austin requested changes to this revision.Mar 14 2016, 9:40 AM
austin edited edge metadata.

Note: Punting off the review queue until we want to revive this and look at it more closely.

This revision now requires changes to proceed.Mar 14 2016, 9:40 AM