summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.h
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-01-25 20:07:31 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2016-01-26 16:07:08 +0100
commite24a9b5de00bc2669a52a1f9905bd40e7be0d857 (patch)
tree1285faaa5b1c495ab85aae7b9294c19a67081160 /rts/ProfHeap.h
parent01809bcd4c9066244d705360f0d9a3a2176385f4 (diff)
downloadhaskell-e24a9b5de00bc2669a52a1f9905bd40e7be0d857.tar.gz
Nicer error on +RTS -hc without -rtsopts or -prof
Before: * without -rtsopts: Most RTS options are disabled. Link with -rtsopts to enable them. * with -rtsopts: invalid heap profile option: -hc After: * the flag -hc requires the program to be built with -prof Copy `Note [OPTION_SAFE vs OPTION_UNSAFE]` from commit 8c7ad0bd. Reviewed by: bgamari Differential Revision: https://phabricator.haskell.org/D1845
Diffstat (limited to 'rts/ProfHeap.h')
0 files changed, 0 insertions, 0 deletions