rts/RetainerProfile: Dump closure type if push() fails
authorRyan Scott <ryan.gl.scott@gmail.com>
Sun, 25 Mar 2018 19:33:37 +0000 (15:33 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 25 Mar 2018 19:33:38 +0000 (15:33 -0400)
commit9a00bfba122cd7138892c934c9cc3376dc2abe98
tree76dcebf0eb4372469008aaf0817af8019acf15ee
parentc16df6061abd33c67797b1cd676a980457f52533
rts/RetainerProfile: Dump closure type if push() fails

While investigating #14947, I noticed that the `barf`ed
error message in `push()` doesn't print out the closure type that
causes it to crash. Let's do so.

Reviewers: bgamari, erikd, simonmar

Reviewed By: bgamari

Subscribers: alexbiehl, rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4525
rts/RetainerProfile.c