[commit: ghc] master: Generate DWARF info section (cc481ec)
git at git.haskell.org
git at git.haskell.org
Wed Dec 17 00:33:16 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/cc481ec8657e0b91e2f8f9a9eeb3f9ee030635ae/ghc
>---------------------------------------------------------------
commit cc481ec8657e0b91e2f8f9a9eeb3f9ee030635ae
Author: Peter Wortmann <scpmw at leeds.ac.uk>
Date: Tue Dec 9 20:59:07 2014 +0100
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)
>---------------------------------------------------------------
cc481ec8657e0b91e2f8f9a9eeb3f9ee030635ae
compiler/cmm/CLabel.hs | 30 ++++--
compiler/ghc.cabal.in | 3 +
compiler/nativeGen/AsmCodeGen.hs | 73 +++++++------
compiler/nativeGen/Dwarf.hs | 120 ++++++++++++++++++++++
compiler/nativeGen/Dwarf/Constants.hs | 132 ++++++++++++++++++++++++
compiler/nativeGen/Dwarf/Types.hs | 186 ++++++++++++++++++++++++++++++++++
compiler/nativeGen/X86/Ppr.hs | 15 ++-
7 files changed, 519 insertions(+), 40 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc cc481ec8657e0b91e2f8f9a9eeb3f9ee030635ae
More information about the ghc-commits
mailing list