summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs-boot
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-05 11:17:46 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-11 20:33:37 -0400
commit8e6febcee4b91a88a5027baac4bee5a8847fe79b (patch)
tree52e17447417df5f410ea4e571ea5df7ead752bb8 /compiler/GHC/Driver/Session.hs-boot
parent3aa9b35fcc417ab39d8da633482fe64dc9f898b1 (diff)
downloadhaskell-8e6febcee4b91a88a5027baac4bee5a8847fe79b.tar.gz
Refactor GHC.Driver.Session (Ways and Flags)
* extract flags and ways into their own modules (with some renaming) * remove one SOURCE import of GHC.Driver.Session from GHC.Driver.Phases * when GHC uses dynamic linking (WayDyn), `interpWays` was only reporting WayDyn even if the host was profiled (WayProf). Now it returns both as expected (might fix #16803). * `mkBuildTag :: [Way] -> String` wasn't reporting a canonical tag for differently ordered lists. Now we sort and nub the list to fix this.
Diffstat (limited to 'compiler/GHC/Driver/Session.hs-boot')
-rw-r--r--compiler/GHC/Driver/Session.hs-boot2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/GHC/Driver/Session.hs-boot b/compiler/GHC/Driver/Session.hs-boot
index c61d6b5297..23458ee1eb 100644
--- a/compiler/GHC/Driver/Session.hs-boot
+++ b/compiler/GHC/Driver/Session.hs-boot
@@ -5,8 +5,6 @@ import GHC.Platform
import {-# SOURCE #-} Outputable
data DynFlags
-data DumpFlag
-data GeneralFlag
targetPlatform :: DynFlags -> Platform
pprUserLength :: DynFlags -> Int