
#8275: Loopification breaks profiling ----------------------------------------+---------------------------------- Reporter: jstolarek | Owner: jstolarek Type: bug | Status: patch Priority: high | Milestone: 7.8.1 Component: Profiling | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: 8456 | Related Tickets: ----------------------------------------+---------------------------------- Changes (by jstolarek): * owner: => jstolarek Comment: OK, I got my laptop back :-) Patch validates, but before I push it I want to make a few more tests to see that it does the right thing.
And here's an ugly PoC patch that moves the self-loop label below the stack check:
Could you explain how and why this works? I mostly interested in knowing how does it guarantee to place self-loop label after stack check but before heap check. I don't have more time to investigate this at the moment but if the patch is ready and working it would be good to have it pushed. Once I push your patch for loopification I'll close this ticket and start a new one for moving self-loop label after the stack check. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8275#comment:35 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler