Skip to content
  • Daniel Gröber (dxld)'s avatar
    rts: Fix -hT option with profiling rts · ed662901
    Daniel Gröber (dxld) authored and Marge Bot's avatar Marge Bot committed
    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.
    ed662901