Generate DWARF info section
authorPeter Wortmann <scpmw@leeds.ac.uk>
Tue, 9 Dec 2014 19:59:07 +0000 (20:59 +0100)
committerAustin Seipp <austin@well-typed.com>
Wed, 17 Dec 2014 00:34:08 +0000 (18:34 -0600)
commitcc481ec8657e0b91e2f8f9a9eeb3f9ee030635ae
tree75d6fc5f738df1344bb66985413b1393ad4017f6
parent64678e9e8ff0107cac956f0c7b799a1dd317b963
Generate DWARF info section

This is where we actually make GHC emit DWARF code. The info section
contains all the general meta information bits as well as an entry for
every block of native code.

Notes:

* We need quite a few new labels in order to properly address starts
  and ends of blocks.

* Thanks to Nathan Howell for taking the iniative to get our own Haskell
  language ID for DWARF!

(From Phabricator D396)
compiler/cmm/CLabel.hs
compiler/ghc.cabal.in
compiler/nativeGen/AsmCodeGen.hs
compiler/nativeGen/Dwarf.hs [new file with mode: 0644]
compiler/nativeGen/Dwarf/Constants.hs [new file with mode: 0644]
compiler/nativeGen/Dwarf/Types.hs [new file with mode: 0644]
compiler/nativeGen/X86/Ppr.hs