[GHC] #11353: DWARF call frame information incorrect in the presence of unsafe foreign calls

GHC ghc-devs at haskell.org
Mon Jan 4 21:39:10 UTC 2016


#11353: DWARF call frame information incorrect in the presence of unsafe foreign
calls
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.10.3
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Debugging         |  (amd64)
  information is incorrect           |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 In fact, it looks like the NCG already has read-only access to the
 `DebugBlock`s. Perhaps this idea isn't so crazy. The tricky part is
 ensuring that the debug entries remain properly sorted. Perhaps you could
 say something like "insert this `UnwindTable` after label `c2TN`"?

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


More information about the ghc-tickets mailing list