[commit: ghc] master: Linker: Make debugging output a bit more readable (48e0f9c)

git at git.haskell.org git at git.haskell.org
Sun Jan 3 15:56:02 UTC 2016


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

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

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

commit 48e0f9cb8ca8ff180d732d1b46f31132f5e1de97
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


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

48e0f9cb8ca8ff180d732d1b46f31132f5e1de97
 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