Wolfgang Jeltsch pushed to branch wip/jeltsch/textual-bytecode-output at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • testsuite/tests/show-bytecode/Makefile
    ... ... @@ -6,7 +6,8 @@ compile = '$(TEST_HC)' $(TEST_HC_OPTS) -fbyte-code -fwrite-byte-code -no-link
    6 6
     show      = '$(TEST_HC)' $(TEST_HC_OPTS) --show-byte-code
    
    7 7
     normalize = sed -E -e ' \
    
    8 8
                     s/_r[[:alnum:]]+/_@name_suffix@/g; \
    
    9
    -                s/[[:xdigit:]]{32}/@hash@/g; \
    
    9
    +                s/^( *hash: )[[:xdigit:]]+/\1@hash@/g; \
    
    10
    +                s/^( *)[[:xdigit:]]+:/\1@hash@:/g; \
    
    10 11
                     s/word [[:digit:]]{4}[[:digit:]]*/word @large_word@/ \
    
    11 12
                 '
    
    12 13
     
    

  • testsuite/tests/show-bytecode/show-bytecode-hpc.stdout
    ... ... @@ -661,7 +661,7 @@ static-pointer table entries:
    661 661
       @hash@: static_ptr
    
    662 662
       @hash@: static_ptr1
    
    663 663
     HPC information:
    
    664
    -  hash: 000000006110204f
    
    664
    +  hash: @hash@
    
    665 665
       module name: Example
    
    666 666
       tick box name: _hpc_tickboxes_Example_hpc
    
    667 667
       number of ticks: 45