[commit: ghc] wip/llvm-debug-info: [WIP] llvmGen: Produce debug information metadata for functions (fc2de30)
git at git.haskell.org
git at git.haskell.org
Sat Sep 16 14:16:25 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/llvm-debug-info
Link : http://ghc.haskell.org/trac/ghc/changeset/fc2de303e0a53392d4ab987131608bc6bdbd81db/ghc
>---------------------------------------------------------------
commit fc2de303e0a53392d4ab987131608bc6bdbd81db
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Fri Sep 15 16:27:55 2017 -0400
[WIP] llvmGen: Produce debug information metadata for functions
Summary:
It turns out that providing debug information in LLVM is relatively
straightforward. At this moment this only provides debug information with
procedure-level granularity.
Test Plan: Validate, look at DWARF output, try poking around in GDB
Reviewers: scpmw, simonmar, austin
Subscribers: spacekitteh, cocreature, thomie
Differential Revision: https://phabricator.haskell.org/D2343
>---------------------------------------------------------------
fc2de303e0a53392d4ab987131608bc6bdbd81db
compiler/llvmGen/Llvm/AbsSyn.hs | 3 ++
compiler/llvmGen/Llvm/MetaData.hs | 57 +++++++++++++++++++++++
compiler/llvmGen/Llvm/PpLlvm.hs | 10 ++---
compiler/llvmGen/LlvmCodeGen.hs | 80 +++++++++++++++++++++++++++------
compiler/llvmGen/LlvmCodeGen/Base.hs | 27 ++++++++++-
compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 4 +-
compiler/llvmGen/LlvmCodeGen/Ppr.hs | 51 ++++++++++++++++++---
compiler/main/CodeOutput.hs | 8 ++--
8 files changed, 210 insertions(+), 30 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 fc2de303e0a53392d4ab987131608bc6bdbd81db
More information about the ghc-commits
mailing list