Hannes Siebenhandl pushed to branch wip/fendor/revert-backtrace-decoder at Glasgow Haskell Compiler / GHC Commits: 40f0ccb0 by fendor at 2025-10-18T20:15:43+02:00 Add regression test for #26507 - - - - - 2 changed files: - + libraries/ghc-internal/tests/backtraces/T26507.hs - libraries/ghc-internal/tests/backtraces/all.T Changes: ===================================== libraries/ghc-internal/tests/backtraces/T26507.hs ===================================== @@ -0,0 +1,7 @@ +import GHC.Internal.Control.Exception +import GHC.Internal.Control.Exception.Backtrace + +main :: IO () +main = do + setBacktraceMechanismState IPEBacktrace True + throwIO $ ErrorCall "Throw error" ===================================== libraries/ghc-internal/tests/backtraces/all.T ===================================== @@ -1,2 +1,4 @@ test('T14532a', [], compile_and_run, ['']) test('T14532b', [], compile_and_run, ['']) +test('T26507', [extra_ways(['prof']), when(js_arch(), skip)], compile_and_run, ['']) + View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/40f0ccb0f7d0cbe6d03b1ac66e1073dc... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/40f0ccb0f7d0cbe6d03b1ac66e1073dc... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Hannes Siebenhandl (@fendor)