[GHC] #10844: CallStack should not be inlined

GHC ghc-devs at haskell.org
Fri Oct 16 11:07:20 UTC 2015


#10844: CallStack should not be inlined
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  gridaphobe
            Type:  task              |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1259
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by gridaphobe):

 Ok, will do.

 The fibheaps increase is also interesting, yes. There's a bit more to it,
 actually. I had to add `-package array` to the fibheaps makefile because I
 was getting a linker error about undefined symbols from Data.Array.Base.
 This is not too surprising since the point of this whole thing is to
 prevent strings and callstacks from being inlined across modules. In this
 particular case, the undefined symbol was a callstack used in an error
 call in Data.Array.Base. But it does force us to link against array, which
 we weren't doing before.

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


More information about the ghc-tickets mailing list