summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/CodeOutput.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/CodeOutput.hs')
-rw-r--r--compiler/GHC/Driver/CodeOutput.hs15
1 files changed, 10 insertions, 5 deletions
diff --git a/compiler/GHC/Driver/CodeOutput.hs b/compiler/GHC/Driver/CodeOutput.hs
index cee81b900e..f9912ee303 100644
--- a/compiler/GHC/Driver/CodeOutput.hs
+++ b/compiler/GHC/Driver/CodeOutput.hs
@@ -17,33 +17,38 @@ where
import GHC.Prelude
import GHC.Platform
+import GHC.ForeignSrcLang
import GHC.CmmToAsm ( nativeCodeGen )
import GHC.CmmToLlvm ( llvmCodeGen )
-import GHC.Types.Unique.Supply ( mkSplitUniqSupply )
-
-import GHC.Driver.Finder ( mkStubPaths )
-import GHC.Driver.Backend
import GHC.CmmToC ( cmmToC )
import GHC.Cmm.Lint ( cmmLint )
import GHC.Cmm ( RawCmmGroup )
import GHC.Cmm.CLabel
-import GHC.Driver.Types
+
import GHC.Driver.Session
import GHC.Driver.Ppr
+import GHC.Driver.Backend
+
import qualified GHC.Data.ShortText as ST
import GHC.Data.Stream ( Stream )
import qualified GHC.Data.Stream as Stream
+
import GHC.SysTools.FileCleanup
import GHC.Utils.Error
import GHC.Utils.Outputable
import GHC.Utils.Panic
+
import GHC.Unit
import GHC.Unit.State
+import GHC.Unit.Finder ( mkStubPaths )
+
import GHC.Types.SrcLoc
import GHC.Types.CostCentre
+import GHC.Types.ForeignStubs
+import GHC.Types.Unique.Supply ( mkSplitUniqSupply )
import Control.Exception
import System.Directory