[Git][ghc/ghc][wip/fendor/backtraces-decoders] Expose Backtraces internals from ghc-experimental
Hannes Siebenhandl pushed to branch wip/fendor/backtraces-decoders at Glasgow Haskell Compiler / GHC Commits: 348b6114 by fendor at 2025-08-07T09:37:03+02:00 Expose Backtraces internals from ghc-experimental Additionally, expose the same API `base:Control.Exception.Backtrace` to make it easier to use as a drop-in replacement. - - - - - 1 changed file: - libraries/ghc-experimental/src/GHC/Exception/Backtrace/Experimental.hs Changes: ===================================== libraries/ghc-experimental/src/GHC/Exception/Backtrace/Experimental.hs ===================================== @@ -9,12 +9,20 @@ Portability : non-portable (GHC extensions) This module exposes experimental extensions to the Backtrace mechanism of GHC. -} -module GHC.Exception.Backtrace.Experimental ( - -- * Collecting exception annotations (like backtraces) - CollectExceptionAnnotationMechanism, - getCollectExceptionAnnotationMechanism, - setCollectExceptionAnnotation, - collectExceptionAnnotation, +module GHC.Exception.Backtrace.Experimental + ( -- * Backtrace mechanisms + BacktraceMechanism(..) + , getBacktraceMechanismState + , setBacktraceMechanismState + -- * Collecting backtraces + , Backtraces(..), + , displayBacktraces + , collectBacktraces + -- * Collecting exception annotations on throwing 'Exception's + , CollectExceptionAnnotationMechanism + , getCollectExceptionAnnotationMechanism + , setCollectExceptionAnnotation + , collectExceptionAnnotation ) where import GHC.Internal.Exception.Backtrace View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/348b6114e17413cffba5be424acf2480... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/348b6114e17413cffba5be424acf2480... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Hannes Siebenhandl (@fendor)