Cleanup sweep and fix a bug in RTS flag processing.
authorSimon Marlow <marlowsd@gmail.com>
Tue, 12 Apr 2011 12:21:41 +0000 (13:21 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 12 Apr 2011 13:21:37 +0000 (14:21 +0100)
commit5463b55b7dadc1e9918edb2d8666bf3ed195bc61
tree9738714d517d56166a90a6eb18decb34fcf9d406
parent4f018b471c7c5db858beb508b8430ae4d0621173
Cleanup sweep and fix a bug in RTS flag processing.

This code has accumulated a great deal of cruft over the years, this
pass cleans up a lot of the surrounding cruft but leaves the actual
argument processing alone - so there's still more that could be done.

Bug fixed:

  - ghc_rts_opts should not be subject to the --rtsopts setting.  If
    the programmer explicitly declares options with ghc_rts_opts, they
    shouldn't also have to accept command-line RTS options to make them
    work.
compiler/main/DriverPipeline.hs
ghc/hschooks.c
includes/RtsFlags.h [deleted file]
includes/RtsOpts.h
includes/rts/Flags.h
rts/RtsFlags.c
rts/RtsFlags.h [new file with mode: 0644]
rts/RtsStartup.c
rts/ghc.mk
rts/hooks/RtsOptsEnabled.c