summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2020-06-07 18:49:45 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-25 03:54:42 -0400
commit284001d00995c82a1f2b38f696138ad683b5364b (patch)
tree0640d0720019c6985ea8e53b2ddb2b227f4d81f5
parent8ddbed4ad1772ac7dfc96b352a3dc35d958a5f9b (diff)
downloadhaskell-284001d00995c82a1f2b38f696138ad683b5364b.tar.gz
Export readBinIface_
-rw-r--r--compiler/GHC/Iface/Binary.hs2
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