[GHC] #13360: Add a flag to enable inferring HasCallStack constraints

GHC ghc-devs at haskell.org
Mon Nov 13 07:07:56 UTC 2017


#13360: Add a flag to enable inferring HasCallStack constraints
-------------------------------------+-------------------------------------
        Reporter:  gridaphobe        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by saurabhnanda):

 >  My suspicion is that this will show that performance regresses by
 approximately the same amount as -fprof-auto -prof since operationally the
 two approaches are somewhat similar.

 Where can I read more about what `-fprof-auto -prof` does?

 > However, this does raise a question: What prevents you from just using
 cost center stacks?

 By cost-center stacks, do you mean whatever `-prof` does? Upon an
 exception, does it give a proper callstack?

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


More information about the ghc-tickets mailing list