[commit: ghc] master: Add rtsopts ignore and ignoreAll. (d75bba8)

git at git.haskell.org git at git.haskell.org
Sat Jul 29 14:34:43 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d75bba852db208b1d9fcb84dab01598a765d2534/ghc

>---------------------------------------------------------------

commit d75bba852db208b1d9fcb84dab01598a765d2534
Author: Andreas Klebinger <klebinger.andreas at gmx.at>
Date:   Fri Jul 28 18:25:24 2017 -0400

    Add rtsopts ignore and ignoreAll.
    
    These ignore commandline arguments for ignore and commandline as well as
    GHCRTS arguments for ignoreAll. Passing RTS flags given on the command
    line along to the program by simply skipping processing of these flags
    by the RTS.
    
    This fixes #12870.
    
    Test Plan: ./validate
    
    Reviewers: austin, hvr, bgamari, erikd, simonmar
    
    Reviewed By: simonmar
    
    Subscribers: Phyx, rwbarton, thomie
    
    GHC Trac Issues: #12870
    
    Differential Revision: https://phabricator.haskell.org/D3740


>---------------------------------------------------------------

d75bba852db208b1d9fcb84dab01598a765d2534
 compiler/main/DynFlags.hs                          |  8 ++-
 docs/users_guide/phases.rst                        |  9 ++++
 docs/users_guide/runtime_control.rst               |  4 +-
 includes/RtsAPI.h                                  |  2 +
 rts/RtsFlags.c                                     | 62 +++++++++++++---------
 testsuite/tests/rts/{T1791 => flags}/Makefile      |  0
 testsuite/tests/rts/flags/T12870.hs                |  6 +++
 .../{T1791/T1791.stdout => flags/T12870_.stdout}   |  0
 testsuite/tests/rts/flags/T12870a.stdout           |  1 +
 testsuite/tests/rts/flags/T12870c.stderr           |  1 +
 testsuite/tests/rts/flags/T12870d.stdout           |  1 +
 testsuite/tests/rts/flags/T12870e.stdout           |  1 +
 testsuite/tests/rts/flags/T12870f.stdout           |  1 +
 testsuite/tests/rts/flags/T12870g.hs               |  8 +++
 testsuite/tests/rts/flags/T12870g.stdout           |  1 +
 testsuite/tests/rts/flags/T12870h.stdout           |  1 +
 testsuite/tests/rts/flags/all.T                    | 44 +++++++++++++++
 17 files changed, 122 insertions(+), 28 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc d75bba852db208b1d9fcb84dab01598a765d2534


More information about the ghc-commits mailing list