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

GHC ghc-devs at haskell.org
Tue Jan 5 14:41: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 simonmar):

 The NCG tracks the current state of %rsp during code generation (see
 `getDeltaNat`) and emits hints into the generated code with the pseudo-
 instruction `DELTA`.  It seems like we should be able to generate correct
 directives for the assembler from the `DELTA` instructions, no?

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


More information about the ghc-tickets mailing list