Fix +RTS -h when compiling without -prof
authorSimon Marlow <smarlow@fb.com>
Thu, 7 Jan 2016 14:23:14 +0000 (06:23 -0800)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 8 Jan 2016 14:05:43 +0000 (14:05 +0000)
commitc33e7c2b1a62f340432c752fb37ca1374e3e982a
treeeda4be10846866a98dea0c9ba556a843cf7323c6
parent1abb7005067e22039807de34cd60bed55316e925
Fix +RTS -h when compiling without -prof

Summary:
Was broken by ce1f1607ed7f8fedd2f63c8610cafefd59baaf32.  I've added a
test so that hopefully it won't break again.

Test Plan: validate & new test case

Reviewers: bgamari, austin, erikd

Subscribers: thomie

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

GHC Trac Issues: #11304
rts/ProfHeap.c
testsuite/config/ghc
testsuite/tests/profiling/should_run/all.T
testsuite/tests/profiling/should_run/heapprof002.stdout [new file with mode: 0644]