Wolfgang Jeltsch pushed to branch wip/jeltsch/textual-bytecode-output at Glasgow Haskell Compiler / GHC Commits: 7eb4a415 by Wolfgang Jeltsch at 2026-08-07T12:48:06+03:00 Correct the `emsdk` test output name suffix - - - - - d922982b by Wolfgang Jeltsch at 2026-08-07T13:02:45+03:00 Disable HPC test for `emsdk` - - - - - 4 changed files: - testsuite/tests/show-bytecode/all.T - testsuite/tests/show-bytecode/show-bytecode-breakpoints.stdout-wasi → testsuite/tests/show-bytecode/show-bytecode-breakpoints.stdout-javascript-unknown-ghcjs - − testsuite/tests/show-bytecode/show-bytecode-hpc.stdout-wasi - testsuite/tests/show-bytecode/show-bytecode-vanilla.stdout-wasi → testsuite/tests/show-bytecode/show-bytecode-vanilla.stdout-javascript-unknown-ghcjs Changes: ===================================== testsuite/tests/show-bytecode/all.T ===================================== @@ -12,7 +12,7 @@ test( ) test( 'show-bytecode-hpc', - extra_files(['Example.hs', 'normalize']), + [js_skip, extra_files(['Example.hs', 'normalize'])], makefile_test, [] ) ===================================== testsuite/tests/show-bytecode/show-bytecode-breakpoints.stdout-wasi → testsuite/tests/show-bytecode/show-bytecode-breakpoints.stdout-javascript-unknown-ghcjs ===================================== ===================================== testsuite/tests/show-bytecode/show-bytecode-hpc.stdout-wasi deleted ===================================== @@ -1,662 +0,0 @@ -[1 of 1] Compiling Example ( Example.hs, Example.gbc ) -module: Example -hash: @hash@ -objects: - object ‘primesPtr’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - used items: - named item ‘static_ptr1’ - named item ‘$dTypeable2_@name_suffix@’ - named item ‘$fIsStaticStaticPtr’ - static-construction object ‘static_ptr1’: - data constructor: StaticPtr - lifted: yes - literals: - word @large_word@ - used items: - named item ‘static_ptr1_sat_@name_suffix@’ - static-construction object ‘static_ptr1_sat_@name_suffix@’: - data constructor: StaticPtrInfo - lifted: yes - literals: <none> - used items: - named item ‘static_ptr1_sat_@name_suffix@’ - object ‘static_ptr1_sat_@name_suffix@’: - arity: 0 - literals: top-level string "main" - used items: - object ‘static_ptr1_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: named item ‘unpackCString#’ - object ‘static_ptr1_sat_@name_suffix@’: - arity: 0 - literals: top-level string "Example" - used items: - object ‘static_ptr1_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: named item ‘unpackCString#’ - static-construction object ‘static_ptr1_sat_@name_suffix@’: - data constructor: (,) - lifted: yes - literals: <none> - used items: - named item ‘static_ptr1_sat_@name_suffix@’ - static-construction object ‘static_ptr1_sat_@name_suffix@’: - data constructor: I# - lifted: yes - literals: word @large_word@ - used items: <none> - static-construction object ‘static_ptr1_sat_@name_suffix@’: - data constructor: I# - lifted: yes - literals: word @large_word@ - used items: <none> - object ‘static_ptr1_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘primes’ - object ‘primes2_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘primes2_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘primes2_sat_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - word 3 - info table of ‘IS’ - used items: - named item ‘$fNumNatural’ - named item ‘fromInteger’ - named item ‘$fEnumNatural’ - named item ‘enumFrom’ - object ‘primes2_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘isPrime_@name_suffix@’ - named item ‘filter’ - object ‘isPrime_@name_suffix@’: - arity: 1 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘isPrime_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘isPrime_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘isPrime_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘primes’ - object ‘isPrime_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘isPrime_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘v_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - named item ‘$fIntegralInteger’ - named item ‘$fNumNatural’ - named item ‘(^)’ - object ‘v1_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - word 2 - info table of ‘IS’ - used items: <none> - object ‘pap_@name_suffix@’: - arity: 3 - literals: <none> - used items: <none> - object ‘isPrime_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘v_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - named item ‘$fOrdNatural’ - named item ‘(<=)’ - object ‘v1_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: <none> - object ‘pap_@name_suffix@’: - arity: 3 - literals: <none> - used items: <none> - named item ‘(.)’ - named item ‘takeWhile’ - object ‘isPrime_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘v_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘pap_@name_suffix@’: - arity: 2 - literals: <none> - used items: - named item ‘$fIntegralNatural’ - named item ‘divides’ - object ‘v1_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: <none> - object ‘pap_@name_suffix@’: - arity: 3 - literals: <none> - used items: <none> - named item ‘$fFoldableList’ - named item ‘any’ - named item ‘not’ - object ‘primes’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - info table of ‘(:)’ - used items: - named item ‘primes2_@name_suffix@’ - named item ‘primes1_@name_suffix@’ - object ‘primes1_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - word 2 - info table of ‘IS’ - used items: - named item ‘$fNumNatural’ - named item ‘fromInteger’ - object ‘fibonaccisPtr’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - used items: - named item ‘static_ptr’ - named item ‘$dTypeable2_@name_suffix@’ - named item ‘$fIsStaticStaticPtr’ - static-construction object ‘static_ptr’: - data constructor: StaticPtr - lifted: yes - literals: - word @large_word@ - used items: - named item ‘static_ptr_sat_@name_suffix@’ - static-construction object ‘static_ptr_sat_@name_suffix@’: - data constructor: StaticPtrInfo - lifted: yes - literals: <none> - used items: - named item ‘static_ptr_sat_@name_suffix@’ - object ‘static_ptr_sat_@name_suffix@’: - arity: 0 - literals: top-level string "main" - used items: - object ‘static_ptr_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: named item ‘unpackCString#’ - object ‘static_ptr_sat_@name_suffix@’: - arity: 0 - literals: top-level string "Example" - used items: - object ‘static_ptr_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: named item ‘unpackCString#’ - static-construction object ‘static_ptr_sat_@name_suffix@’: - data constructor: (,) - lifted: yes - literals: <none> - used items: - named item ‘static_ptr_sat_@name_suffix@’ - static-construction object ‘static_ptr_sat_@name_suffix@’: - data constructor: I# - lifted: yes - literals: word @large_word@ - used items: <none> - static-construction object ‘static_ptr_sat_@name_suffix@’: - data constructor: I# - lifted: yes - literals: word @large_word@ - used items: <none> - object ‘static_ptr_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘fibonaccis’ - object ‘positiveFibonaccis1_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - info table of ‘(:)’ - used items: - named item ‘positiveFibonaccis2_@name_suffix@’ - named item ‘positiveFibonaccis_@name_suffix@’ - object ‘positiveFibonaccis2_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘positiveFibonaccis2_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘positiveFibonaccis1_@name_suffix@’ - object ‘positiveFibonaccis2_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘fibonaccis’ - object ‘positiveFibonaccis2_sat_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - named item ‘$fNumNatural’ - named item ‘(+)’ - named item ‘zipWith’ - object ‘fibonaccis’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - info table of ‘(:)’ - used items: - named item ‘fibonaccis2_@name_suffix@’ - named item ‘fibonaccis1_@name_suffix@’ - object ‘fibonaccis2_@name_suffix@’: - arity: 0 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: named item ‘positiveFibonaccis1_@name_suffix@’ - object ‘positiveFibonaccis_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - word 1 - info table of ‘IS’ - used items: - named item ‘$fNumNatural’ - named item ‘fromInteger’ - object ‘fibonaccis1_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - word 0 - info table of ‘IS’ - used items: - named item ‘$fNumNatural’ - named item ‘fromInteger’ - object ‘$dTypeable2_@name_suffix@’: - arity: 0 - literals: <none> - used items: - named item ‘$dTypeable_@name_suffix@’ - named item ‘$dTypeable1_@name_suffix@’ - named item ‘mkTrAppChecked’ - object ‘$dTypeable1_@name_suffix@’: - arity: 0 - literals: info table of ‘[]’ - used items: - named item ‘$tcList’ - named item ‘mkTrCon’ - object ‘$dTypeable_@name_suffix@’: - arity: 0 - literals: info table of ‘[]’ - used items: - named item ‘$tcNatural’ - named item ‘mkTrCon’ - object ‘cstrlen’: - arity: 2 - literals: <none> - used items: named item ‘cstrlen1_@name_suffix@’ - object ‘cstrlen1_@name_suffix@’: - arity: 2 - literals: <none> - used items: - object ‘ds1_@name_suffix@’: - arity: 0 - literals: - label ‘strlen’ - word 0 - foreign function of type ‘Pointer -> UInt@word_size@’ - used items: - object ‘wild_@name_suffix@’: - arity: 0 - literals: info table of ‘W@word_size@#’ - used items: <none> - static-construction object ‘$tc'Nested’: - data constructor: TyCon - lifted: yes - literals: - word @large_word@ - word 1 - used items: - named item ‘$trModule’ - named item ‘$tc'Nested2_@name_suffix@’ - named item ‘$krep17_@name_suffix@’ - static-construction object ‘$tc'Nested2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$tc'Nested1_@name_suffix@’ - used items: <none> - static-construction object ‘$krep17_@name_suffix@’: - data constructor: KindRepFun - lifted: yes - literals: <none> - used items: - named item ‘$krep16_@name_suffix@’ - named item ‘$krep13_@name_suffix@’ - static-construction object ‘$krep16_@name_suffix@’: - data constructor: KindRepTyConApp - lifted: yes - literals: <none> - used items: - named item ‘$tcPerfectTree’ - named item ‘$krep15_@name_suffix@’ - static-construction object ‘$krep15_@name_suffix@’: - data constructor: (:) - lifted: yes - literals: <none> - used items: - named item ‘$krep4_@name_suffix@’ - named item ‘[]’ - static-construction object ‘$tc'PerfectTree’: - data constructor: TyCon - lifted: yes - literals: - word @large_word@ - word 1 - used items: - named item ‘$trModule’ - named item ‘$tc'PerfectTree2_@name_suffix@’ - named item ‘$krep14_@name_suffix@’ - static-construction object ‘$tc'PerfectTree2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$tc'PerfectTree1_@name_suffix@’ - used items: <none> - static-construction object ‘$krep14_@name_suffix@’: - data constructor: KindRepFun - lifted: yes - literals: <none> - used items: - named item ‘$krep1_@name_suffix@’ - named item ‘$krep13_@name_suffix@’ - static-construction object ‘$krep13_@name_suffix@’: - data constructor: KindRepTyConApp - lifted: yes - literals: <none> - used items: - named item ‘$tcPerfectTree’ - named item ‘$krep12_@name_suffix@’ - static-construction object ‘$krep12_@name_suffix@’: - data constructor: (:) - lifted: yes - literals: <none> - used items: - named item ‘$krep1_@name_suffix@’ - named item ‘[]’ - static-construction object ‘$tcPerfectTree’: - data constructor: TyCon - lifted: yes - literals: - word @large_word@ - word 0 - used items: - named item ‘$trModule’ - named item ‘$tcPerfectTree2_@name_suffix@’ - named item ‘krep$*Arr*’ - static-construction object ‘$tcPerfectTree2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$tcPerfectTree1_@name_suffix@’ - used items: <none> - static-construction object ‘$tc'Node’: - data constructor: TyCon - lifted: yes - literals: - word @large_word@ - word 2 - used items: - named item ‘$trModule’ - named item ‘$tc'Node2_@name_suffix@’ - named item ‘$krep11_@name_suffix@’ - static-construction object ‘$tc'Node2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$tc'Node1_@name_suffix@’ - used items: <none> - static-construction object ‘$krep11_@name_suffix@’: - data constructor: KindRepFun - lifted: yes - literals: <none> - used items: - named item ‘$krep7_@name_suffix@’ - named item ‘$krep10_@name_suffix@’ - static-construction object ‘$krep10_@name_suffix@’: - data constructor: KindRepFun - lifted: yes - literals: <none> - used items: - named item ‘$krep_@name_suffix@’ - named item ‘$krep9_@name_suffix@’ - static-construction object ‘$krep9_@name_suffix@’: - data constructor: KindRepFun - lifted: yes - literals: <none> - used items: - named item ‘$krep7_@name_suffix@’ - static-construction object ‘$tc'Leaf’: - data constructor: TyCon - lifted: yes - literals: - word @large_word@ - word 2 - used items: - named item ‘$trModule’ - named item ‘$tc'Leaf2_@name_suffix@’ - named item ‘$krep8_@name_suffix@’ - static-construction object ‘$tc'Leaf2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$tc'Leaf1_@name_suffix@’ - used items: <none> - static-construction object ‘$krep8_@name_suffix@’: - data constructor: KindRepFun - lifted: yes - literals: <none> - used items: - named item ‘$krep1_@name_suffix@’ - named item ‘$krep7_@name_suffix@’ - static-construction object ‘$krep7_@name_suffix@’: - data constructor: KindRepTyConApp - lifted: yes - literals: <none> - used items: - named item ‘$tcBinTree’ - named item ‘$krep6_@name_suffix@’ - static-construction object ‘$krep6_@name_suffix@’: - data constructor: (:) - lifted: yes - literals: <none> - used items: - named item ‘$krep1_@name_suffix@’ - named item ‘$krep5_@name_suffix@’ - static-construction object ‘$krep5_@name_suffix@’: - data constructor: (:) - lifted: yes - literals: <none> - used items: - named item ‘$krep_@name_suffix@’ - named item ‘[]’ - static-construction object ‘$tcBinTree’: - data constructor: TyCon - lifted: yes - literals: - word @large_word@ - word 0 - used items: - named item ‘$trModule’ - named item ‘$tcBinTree2_@name_suffix@’ - named item ‘krep$*->*->*’ - static-construction object ‘$tcBinTree2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$tcBinTree1_@name_suffix@’ - used items: <none> - static-construction object ‘$krep4_@name_suffix@’: - data constructor: KindRepTyConApp - lifted: yes - literals: <none> - used items: - named item ‘$tcTuple2’ - named item ‘$krep3_@name_suffix@’ - static-construction object ‘$krep3_@name_suffix@’: - data constructor: (:) - lifted: yes - literals: <none> - used items: - named item ‘$krep1_@name_suffix@’ - named item ‘$krep2_@name_suffix@’ - static-construction object ‘$krep2_@name_suffix@’: - data constructor: (:) - lifted: yes - literals: <none> - used items: - named item ‘$krep1_@name_suffix@’ - named item ‘[]’ - static-construction object ‘$krep1_@name_suffix@’: - data constructor: KindRepVar - lifted: yes - literals: word 0 - used items: <none> - static-construction object ‘$krep_@name_suffix@’: - data constructor: KindRepVar - lifted: yes - literals: word 1 - used items: <none> - static-construction object ‘$trModule’: - data constructor: Module - lifted: yes - literals: <none> - used items: - named item ‘$trModule2_@name_suffix@’ - named item ‘$trModule4_@name_suffix@’ - static-construction object ‘$trModule4_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$trModule3_@name_suffix@’ - used items: <none> - static-construction object ‘$trModule2_@name_suffix@’: - data constructor: TrNameS - lifted: yes - literals: address ‘$trModule1_@name_suffix@’ - used items: <none> - object ‘divides’: - arity: 3 - literals: <none> - used items: - object ‘$dReal_@name_suffix@’: - arity: 0 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘divides_sat_@name_suffix@’: - arity: 1 - literals: - label ‘_hpc_tickboxes_Example_hpc’ - word 0 - info table of ‘IS’ - used items: - object ‘divides_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: named item ‘fromInteger’ - named item ‘$p1Real’ - object ‘divides_sat_@name_suffix@’: - arity: 3 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: - object ‘divides_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: <none> - object ‘divides_sat_@name_suffix@’: - arity: 1 - literals: label ‘_hpc_tickboxes_Example_hpc’ - used items: <none> - named item ‘mod’ - object ‘divides_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: - object ‘divides_sat_@name_suffix@’: - arity: 0 - literals: <none> - used items: named item ‘(==)’ - named item ‘$p1Ord’ - named item ‘$p2Real’ - named item ‘$p1Integral’ - object ‘Node’: - arity: 3 - literals: info table of ‘Node’ - used items: <none> - object ‘Leaf’: - arity: 1 - literals: info table of ‘Leaf’ - used items: <none> - object ‘Nested’: - arity: 1 - literals: info table of ‘Nested’ - used items: <none> - object ‘PerfectTree’: - arity: 1 - literals: info table of ‘PerfectTree’ - used items: <none> -data constructor info tables: - info table of ‘PerfectTree’: - number of words for pointers: 1 - number of words for non-pointers: 0 - info table of ‘Nested’: - number of words for pointers: 1 - number of words for non-pointers: 0 - info table of ‘Leaf’: - number of words for pointers: 1 - number of words for non-pointers: 0 - info table of ‘Node’: - number of words for pointers: 3 - number of words for non-pointers: 0 -top-level strings: - $tc'Nested1_@name_suffix@: "'Nested" - $tc'PerfectTree1_@name_suffix@: "'PerfectTree" - $tcPerfectTree1_@name_suffix@: "PerfectTree" - $tc'Node1_@name_suffix@: "'Node" - $tc'Leaf1_@name_suffix@: "'Leaf" - $tcBinTree1_@name_suffix@: "BinTree" - $trModule3_@name_suffix@: "Example" - $trModule1_@name_suffix@: "main" -breakpoints: <none> -static-pointer table entries: - @hash@: static_ptr - @hash@: static_ptr1 -HPC information: - hash: @hash@ - tick box: _hpc_tickboxes_Example_hpc - number of ticks: 45 - ===================================== testsuite/tests/show-bytecode/show-bytecode-vanilla.stdout-wasi → testsuite/tests/show-bytecode/show-bytecode-vanilla.stdout-javascript-unknown-ghcjs ===================================== View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/a1ff5c48010de0ee2fa470e34d683d5... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/a1ff5c48010de0ee2fa470e34d683d5... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Wolfgang Jeltsch (@jeltsch)