[commit: ghc] master: Place static closures in their own section. (b23ba2a)

git at git.haskell.org git at git.haskell.org
Thu Oct 2 06:10:54 UTC 2014


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

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

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

commit b23ba2a7d612c6b466521399b33fe9aacf5c4f75
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Mon Aug 26 13:34:15 2013 -0700

    Place static closures in their own section.
    
    Summary:
    The primary reason for doing this is assisting debuggability:
    if static closures are all in the same section, they are
    guaranteed to be adjacent to one another.  This will help
    later when we add some code that takes section start/end and
    uses this to sanity-check the sections.
    
    Part of remove HEAP_ALLOCED patch set (#8199)
    
    Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
    
    Test Plan: validate
    
    Reviewers: simonmar, austin
    
    Subscribers: simonmar, ezyang, carter, thomie
    
    Differential Revision: https://phabricator.haskell.org/D263
    
    GHC Trac Issues: #8199


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

b23ba2a7d612c6b466521399b33fe9aacf5c4f75
 compiler/cmm/Cmm.hs                  | 1 +
 compiler/cmm/CmmParse.y              | 2 +-
 compiler/cmm/PprCmmDecl.hs           | 1 +
 compiler/codeGen/StgCmmBind.hs       | 4 ++--
 compiler/codeGen/StgCmmCon.hs        | 2 +-
 compiler/codeGen/StgCmmUtils.hs      | 6 ++++++
 compiler/llvmGen/LlvmCodeGen/Data.hs | 1 +
 compiler/nativeGen/PPC/Ppr.hs        | 1 +
 compiler/nativeGen/SPARC/Ppr.hs      | 1 +
 compiler/nativeGen/X86/Ppr.hs        | 4 ++++
 10 files changed, 19 insertions(+), 4 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 b23ba2a7d612c6b466521399b33fe9aacf5c4f75


More information about the ghc-commits mailing list