diff options
author | Oleg Grenrus <oleg.grenrus@iki.fi> | 2020-06-07 18:49:45 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-25 03:54:42 -0400 |
commit | 284001d00995c82a1f2b38f696138ad683b5364b (patch) | |
tree | 0640d0720019c6985ea8e53b2ddb2b227f4d81f5 | |
parent | 8ddbed4ad1772ac7dfc96b352a3dc35d958a5f9b (diff) | |
download | haskell-284001d00995c82a1f2b38f696138ad683b5364b.tar.gz |
Export readBinIface_
-rw-r--r-- | compiler/GHC/Iface/Binary.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Iface/Binary.hs b/compiler/GHC/Iface/Binary.hs index cefe981847..4c676c4d11 100644 --- a/compiler/GHC/Iface/Binary.hs +++ b/compiler/GHC/Iface/Binary.hs @@ -13,6 +13,7 @@ module GHC.Iface.Binary ( -- * Public API for interface file serialisation writeBinIface, readBinIface, + readBinIface_, getSymtabName, getDictFastString, CheckHiWay(..), @@ -88,6 +89,7 @@ readBinIface checkHiWay traceBinIFaceReading hi_path = do dflags <- getDynFlags liftIO $ readBinIface_ dflags checkHiWay traceBinIFaceReading hi_path ncu +-- | Read an interface file in 'IO'. readBinIface_ :: DynFlags -> CheckHiWay -> TraceBinIFaceReading -> FilePath -> NameCacheUpdater -> IO ModIface |