[GHC] #14467: Support HasCallStack for calls to panic

GHC ghc-devs at haskell.org
Wed Nov 15 15:20:13 UTC 2017


#14467: Support HasCallStack for calls to panic
-------------------------------------+-------------------------------------
           Reporter:  AndreasK       |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  low            |         Milestone:
          Component:  GHC API        |           Version:  8.2.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 As far as I can tell `panic` only reports cost center callstacks
 currently.

 It would be useful to include information provided by HasCallStack if
 available as well.

 When using the GHC API (or hacking on GHC itself) this would be a
 convenient way to get more information about what lead to an error that
 triggers `panic` in a different part of the compiler.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14467>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list