[GHC] #15207: bad dwarf frame in stgRun.c when compiled with with gcc on mac and assembled by as/gcc/clang (aka apple clang assembler)

GHC ghc-devs at haskell.org
Thu Nov 29 16:40:14 UTC 2018


#15207: bad dwarf frame in stgRun.c when compiled with with gcc on mac and
assembled by as/gcc/clang (aka apple clang assembler)
-------------------------------------+-------------------------------------
        Reporter:  carter            |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Runtime System    |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4781
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Unfortunately this severely limits the usability of DWARF on the whole. In
 general one can only reliably unwind the stack if unwinding tables are
 available for all code in the running image. If you find a single frame
 for which there is no unwind information (or a frame pointer) available
 you must stop.

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


More information about the ghc-tickets mailing list