diff options
author | Ian Lynagh <igloo@earth.li> | 2008-03-17 18:50:32 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-03-17 18:50:32 +0000 |
commit | f53056962c6d5d465001560a5b2afd8edf67517b (patch) | |
tree | 85376ece014c1fb678dff866d9054003308b1c60 /compiler/iface/LoadIface.lhs | |
parent | f09fe9cd924df3ca73baf124e66f05794e066780 (diff) | |
download | haskell-f53056962c6d5d465001560a5b2afd8edf67517b.tar.gz |
Print some extra debugging info when doing --show-iface
Diffstat (limited to 'compiler/iface/LoadIface.lhs')
-rw-r--r-- | compiler/iface/LoadIface.lhs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/iface/LoadIface.lhs b/compiler/iface/LoadIface.lhs index f41f5daac3..3d8e498ad9 100644 --- a/compiler/iface/LoadIface.lhs +++ b/compiler/iface/LoadIface.lhs @@ -515,7 +515,8 @@ readIface :: Module -> FilePath -> IsBootInterface readIface wanted_mod file_path is_hi_boot_file = do { dflags <- getDOpts - ; res <- tryMostM $ readBinIface CheckHiWay file_path + ; res <- tryMostM $ + readBinIface CheckHiWay QuietBinIFaceReading file_path ; case res of Right iface | wanted_mod == actual_mod -> return (Succeeded iface) @@ -612,7 +613,8 @@ showIface :: HscEnv -> FilePath -> IO () showIface hsc_env filename = do -- skip the hi way check; we don't want to worry about profiled vs. -- non-profiled interfaces, for example. - iface <- initTcRnIf 's' hsc_env () () $ readBinIface IgnoreHiWay filename + iface <- initTcRnIf 's' hsc_env () () $ + readBinIface IgnoreHiWay TraceBinIFaceReading filename printDump (pprModIface iface) \end{code} |