Forked from
Glasgow Haskell Compiler / GHC
Daniel Gröber (dxld)
authored
In dumpCensus we switch/case on doHeapProfile twice. The second switch tries to barf on unknown doHeapProfile modes but HEAP_BY_CLOSURE_TYPE is checked by the first switch and not included in the second. So when trying to pass -hT to the profiling rts it barfs. This commit simply merges the two switches into one which fixes this problem. (cherry picked from commit ed662901) (cherry picked from commit bd46fbee)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.