RtsFlags: Refactor some of the deeper switches
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 16 Nov 2015 15:58:41 +0000 (16:58 +0100)
committerBen Gamari <ben@smart-cactus.org>
Mon, 16 Nov 2015 20:59:45 +0000 (21:59 +0100)
commit69822f0c5b67161b4d7558081bc94f6f3a7c5dbb
tree9550f06793192deb5c3c740f5b8aa191b8a3d7ee
parentb8a849b9a8b531f84cd1191e9e5f0526835d08d2
RtsFlags: Refactor some of the deeper switches

This was previously nearly impossible to read; now it's merely
difficult.

Ideally we would do a more thorough refactoring of the RTS command line
parser (#4243) but this is more effort than I have time for at the
moment.

Test Plan: Try using affected RTS flags

Reviewers: simonmar, austin

Subscribers: thomie

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

GHC Trac Issues: #4243
rts/RtsFlags.c