[commit: ghc] ghc-8.0: Linker: Make debugging output a bit more readable (e32765b)

git at git.haskell.org git at git.haskell.org
Sun Jan 3 20:08:30 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/e32765bf15018b21a36839da95c24d2c11ecef70/ghc

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

commit e32765bf15018b21a36839da95c24d2c11ecef70
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Jan 3 13:31:20 2016 +0100

    Linker: Make debugging output a bit more readable
    
    Differential Revision: https://phabricator.haskell.org/D1728
    
    (cherry picked from commit 48e0f9cb8ca8ff180d732d1b46f31132f5e1de97)


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

e32765bf15018b21a36839da95c24d2c11ecef70
 rts/Linker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/Linker.c b/rts/Linker.c
index f5ffa92..c5781eeff 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -5032,7 +5032,7 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC,
       int is_target_thm=0, T=0;
 #endif
 
-      IF_DEBUG(linker,debugBelch( "Rel entry %3d is raw(%6p %6p)",
+      IF_DEBUG(linker,debugBelch( "Rel entry %3d is raw(%6p %6p): ",
                              j, (void*)offset, (void*)info ));
       if (!info) {
          IF_DEBUG(linker,debugBelch( " ZERO" ));



More information about the ghc-commits mailing list