diff options
author | Simon Marlow <marlowsd@gmail.com> | 2017-10-20 17:07:27 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2017-10-24 15:43:45 +0100 |
commit | 8843a39b3c941b1908a8d839f52bc323f3b45081 (patch) | |
tree | 69ff4a85743847491fa8459491e1aa9b06cf0084 /compiler/iface | |
parent | 671b1ed9bf004ec7a426280799d7cd742836b1d1 (diff) | |
download | haskell-8843a39b3c941b1908a8d839f52bc323f3b45081.tar.gz |
Include usg_file_hash in ghc --show-iface output
Summary:
Otherwise we can get an iface hash difference, but no indication of what
caused it in the --show-iface output.
Test Plan: Harbourmaster
Reviewers: austin, bgamari, erikd
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4115
Diffstat (limited to 'compiler/iface')
-rw-r--r-- | compiler/iface/LoadIface.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/iface/LoadIface.hs b/compiler/iface/LoadIface.hs index 60698287a0..b91d984b9a 100644 --- a/compiler/iface/LoadIface.hs +++ b/compiler/iface/LoadIface.hs @@ -1073,7 +1073,8 @@ pprUsage usage@UsageHomeModule{} ) pprUsage usage@UsageFile{} = hsep [text "addDependentFile", - doubleQuotes (text (usg_file_path usage))] + doubleQuotes (text (usg_file_path usage)), + ppr (usg_file_hash usage)] pprUsage usage@UsageMergedRequirement{} = hsep [text "merged", ppr (usg_mod usage), ppr (usg_mod_hash usage)] |