
#11338: Unwind information is incorrect in region surrounding a safe foreign call -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.10.3 (CodeGen) | Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Debugging | Unknown/Multiple information is incorrect | Test Case: Blocked By: | Blocking: Related Tickets: #11337, #11353 | Differential Rev(s): Phab:D2743 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * differential: => Phab:D2743 * resolution: => invalid Comment: It turns out that this actually isn't a problem. I don't recall what my original reasoning here was, but there seems to be no reason why we can't rely on the value of the STG `Sp` register in the vicinity of a safe foreign call. My DWARF patches work fine, even without Phab:D2743. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11338#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler