Hannes Siebenhandl pushed to branch wip/fendor/backtraces-decoders at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • libraries/ghc-experimental/src/GHC/Exception/Backtrace/Experimental.hs
    ... ... @@ -9,12 +9,20 @@ Portability : non-portable (GHC extensions)
    9 9
     
    
    10 10
     This module exposes experimental extensions to the Backtrace mechanism of GHC.
    
    11 11
     -}
    
    12
    -module GHC.Exception.Backtrace.Experimental (
    
    13
    -  -- * Collecting exception annotations (like backtraces)
    
    14
    -  CollectExceptionAnnotationMechanism,
    
    15
    -  getCollectExceptionAnnotationMechanism,
    
    16
    -  setCollectExceptionAnnotation,
    
    17
    -  collectExceptionAnnotation,
    
    12
    +module GHC.Exception.Backtrace.Experimental
    
    13
    +    ( -- * Backtrace mechanisms
    
    14
    +      BacktraceMechanism(..)
    
    15
    +    , getBacktraceMechanismState
    
    16
    +    , setBacktraceMechanismState
    
    17
    +    -- * Collecting backtraces
    
    18
    +    , Backtraces(..),
    
    19
    +    , displayBacktraces
    
    20
    +    , collectBacktraces
    
    21
    +    -- * Collecting exception annotations on throwing 'Exception's
    
    22
    +    , CollectExceptionAnnotationMechanism
    
    23
    +    , getCollectExceptionAnnotationMechanism
    
    24
    +    , setCollectExceptionAnnotation
    
    25
    +    , collectExceptionAnnotation
    
    18 26
       ) where
    
    19 27
     
    
    20 28
     import GHC.Internal.Exception.Backtrace