[commit: ghc] master: Fix space leaks (71f6b18)

git at git.haskell.org git at git.haskell.org
Mon Jul 16 14:33:43 UTC 2018


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

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

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

commit 71f6b18ba365da9ee4795f6cbce6ec9f1bfe95e8
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Jun 18 17:18:10 2018 +0100

    Fix space leaks
    
    Summary:
    All these were detected by -fghci-leak-check when GHC was
    compiled *without* optimisation (e.g. using the "quick" build flavour).
    
    Unfortunately I don't know of a good way to keep this working.  I'd like
    to just disable the -fghci-leak-check flag when the compiler is built
    without optimisation, but it doesn't look like we have an easy way to do
    that. And even if we could, it would be fragile anyway,
    
    Test Plan: `cd testsuite/tests/ghci; make`
    
    Reviewers: bgamari, hvr, erikd, tdammers
    
    Subscribers: tdammers, rwbarton, thomie, carter
    
    GHC Trac Issues: #15246
    
    Differential Revision: https://phabricator.haskell.org/D4872


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

71f6b18ba365da9ee4795f6cbce6ec9f1bfe95e8
 compiler/ghci/Linker.hs             | 33 +++++++++++++++++++--------------
 compiler/iface/IfaceEnv.hs          |  7 ++++---
 compiler/main/DriverPipeline.hs     |  4 ++--
 compiler/main/HscTypes.hs           |  6 +++---
 compiler/typecheck/TcRnMonad.hs     |  9 +++++----
 compiler/utils/IOEnv.hs             |  2 +-
 ghc/GHCi/UI.hs                      |  7 ++++---
 testsuite/tests/perf/compiler/all.T |  9 ++++++---
 8 files changed, 44 insertions(+), 33 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 71f6b18ba365da9ee4795f6cbce6ec9f1bfe95e8


More information about the ghc-commits mailing list