[GHC] #10236: DWARF unwind info is broken

GHC ghc-devs at haskell.org
Mon Jun 1 13:55:46 UTC 2015


#10236: DWARF unwind info is broken
-------------------------------------+-------------------------------------
        Reporter:  thoughtpolice     |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  high              |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.1
  (Debugging)                        |                Keywords:  dwarf
      Resolution:  fixed             |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  Incorrect result  |               Test Case:
  at runtime                         |                Blocking:
      Blocked By:                    |  Differential Revisions:  Phab:D792
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by scpmw):

 See D792 - it's slightly tricky, because the only meaningful test would
 involve taking the produced object file apart. Best approach in my opinion
 would be to do some sanity checks on `objdump`/`dwarfdump` output. Still
 not exactly trivial to formulate a robust "all Haskell code covered" test.
 Maybe calculate `.text` section size and compare it with the sum of ranges
 from `.debug_info`?

 Side note: If/when we equip the RTS to consume DWARF this could become a
 lot more straightforward.

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


More information about the ghc-tickets mailing list