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

GHC ghc-devs at haskell.org
Mon Jan 4 23:21:55 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):

 Another option along these lines would be to abandon tracking label
 ordering at all until code generation. Then the code generator could
 modify the `DebugBlock` to its hearts content, so long as in the end it
 returned the unwinding tables in the proper order.

 For those playing along at home, the issue here is that DWARF requires
 that frame unwinding tables (FDEs) must be written in order of increasing
 address.

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


More information about the ghc-tickets mailing list