Commit 236abdb8 authored by Ben Price's avatar Ben Price Committed by Ben Gamari

rts: Allow heap prof by closure type in prof way

Complete b7b6617a (see ticket #15086) to
actually enable profiling by closure type in the profiling rts. I.e.
+RTS -p -hT is now accepted.
parent a303695b
......@@ -1906,6 +1906,7 @@ static bool read_heap_profiling_flag(const char *arg)
case 'r':
case 'B':
case 'b':
case 'T':
if (arg[2] != '\0' && arg[3] != '\0') {
const char *left = strchr(arg, '{');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment