[GHC] #11544: SCC call-stack from `error` missing call-sites
GHC
ghc-devs at haskell.org
Fri Feb 5 17:08:55 UTC 2016
#11544: SCC call-stack from `error` missing call-sites
-------------------------------------+-------------------------------------
Reporter: gridaphobe | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Profiling | Version: 8.0.1-rc1
Resolution: wontfix | 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: |
-------------------------------------+-------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => wontfix
Comment:
Yeah, this is a known problem, and it's kind of by design. The call to
`error` in `GHC.List` is lifted out as a CAF, because it has no
dependencies. Profiling doesn't add extra arguments to things (to avoid
changing the cost model of the program), so this CAF can be evaluated only
once.
I'll close the ticket as wontfix for now, but I do have some experimental
changes that might help with this in the future.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11544#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list