rts: Disable -hb with multiple capabilities
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 12 Sep 2016 12:44:24 +0000 (08:44 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 12 Sep 2016 16:15:28 +0000 (12:15 -0400)
commit6555c6bb8447ed65d5da4bab462ee9da7dc3f97a
tree8035d82c256e608a23dd4b186fd7ab9a898d1957
parentc6ac1e5f25e980c69e36581666210749811ee1c6
rts: Disable -hb with multiple capabilities

Biographical profiling is not thread-safe as documented in #12019. Throw
an error when it is used in this way.

Test Plan: Validate

Reviewers: simonmar, austin, erikd

Reviewed By: erikd

Subscribers: thomie

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

GHC Trac Issues: #12019
rts/ProfHeap.c