Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,260
Issues
4,260
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
398
Merge Requests
398
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
240f5bf6
Commit
240f5bf6
authored
Feb 18, 2020
by
Sylvain Henry
Committed by
Marge Bot
Feb 21, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modules: Driver (#13009)
submodule updates: nofib, haddock
parent
be7068a6
Pipeline
#16084
canceled with stages
Changes
330
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
330 changed files
with
681 additions
and
679 deletions
+681
-679
compiler/GHC.hs
compiler/GHC.hs
+12
-12
compiler/GHC/ByteCode/Asm.hs
compiler/GHC/ByteCode/Asm.hs
+2
-2
compiler/GHC/ByteCode/InfoTable.hs
compiler/GHC/ByteCode/InfoTable.hs
+2
-2
compiler/GHC/ByteCode/Linker.hs
compiler/GHC/ByteCode/Linker.hs
+1
-1
compiler/GHC/Cmm/CLabel.hs
compiler/GHC/Cmm/CLabel.hs
+2
-2
compiler/GHC/Cmm/CallConv.hs
compiler/GHC/Cmm/CallConv.hs
+1
-1
compiler/GHC/Cmm/Expr.hs
compiler/GHC/Cmm/Expr.hs
+1
-1
compiler/GHC/Cmm/Graph.hs
compiler/GHC/Cmm/Graph.hs
+1
-1
compiler/GHC/Cmm/Info.hs
compiler/GHC/Cmm/Info.hs
+1
-1
compiler/GHC/Cmm/Info/Build.hs
compiler/GHC/Cmm/Info/Build.hs
+1
-1
compiler/GHC/Cmm/LayoutStack.hs
compiler/GHC/Cmm/LayoutStack.hs
+1
-1
compiler/GHC/Cmm/Lint.hs
compiler/GHC/Cmm/Lint.hs
+1
-1
compiler/GHC/Cmm/Liveness.hs
compiler/GHC/Cmm/Liveness.hs
+1
-1
compiler/GHC/Cmm/MachOp.hs
compiler/GHC/Cmm/MachOp.hs
+1
-1
compiler/GHC/Cmm/Monad.hs
compiler/GHC/Cmm/Monad.hs
+1
-1
compiler/GHC/Cmm/Node.hs
compiler/GHC/Cmm/Node.hs
+1
-1
compiler/GHC/Cmm/Opt.hs
compiler/GHC/Cmm/Opt.hs
+1
-1
compiler/GHC/Cmm/Parser.y
compiler/GHC/Cmm/Parser.y
+1
-1
compiler/GHC/Cmm/Pipeline.hs
compiler/GHC/Cmm/Pipeline.hs
+2
-2
compiler/GHC/Cmm/Ppr/Decl.hs
compiler/GHC/Cmm/Ppr/Decl.hs
+1
-1
compiler/GHC/Cmm/ProcPoint.hs
compiler/GHC/Cmm/ProcPoint.hs
+1
-1
compiler/GHC/Cmm/Sink.hs
compiler/GHC/Cmm/Sink.hs
+1
-1
compiler/GHC/Cmm/Switch.hs
compiler/GHC/Cmm/Switch.hs
+1
-1
compiler/GHC/Cmm/Switch/Implement.hs
compiler/GHC/Cmm/Switch/Implement.hs
+1
-1
compiler/GHC/Cmm/Type.hs
compiler/GHC/Cmm/Type.hs
+1
-1
compiler/GHC/Cmm/Utils.hs
compiler/GHC/Cmm/Utils.hs
+1
-1
compiler/GHC/CmmToC.hs
compiler/GHC/CmmToC.hs
+1
-1
compiler/GHC/CmmToLlvm.hs
compiler/GHC/CmmToLlvm.hs
+1
-1
compiler/GHC/CmmToLlvm/Base.hs
compiler/GHC/CmmToLlvm/Base.hs
+1
-1
compiler/GHC/CmmToLlvm/CodeGen.hs
compiler/GHC/CmmToLlvm/CodeGen.hs
+1
-1
compiler/GHC/CmmToLlvm/Data.hs
compiler/GHC/CmmToLlvm/Data.hs
+1
-1
compiler/GHC/CmmToLlvm/Mangler.hs
compiler/GHC/CmmToLlvm/Mangler.hs
+1
-1
compiler/GHC/CmmToLlvm/Regs.hs
compiler/GHC/CmmToLlvm/Regs.hs
+1
-1
compiler/GHC/CoreToByteCode.hs
compiler/GHC/CoreToByteCode.hs
+2
-2
compiler/GHC/CoreToStg.hs
compiler/GHC/CoreToStg.hs
+1
-1
compiler/GHC/CoreToStg/Prep.hs
compiler/GHC/CoreToStg/Prep.hs
+2
-2
compiler/GHC/Data/Bitmap.hs
compiler/GHC/Data/Bitmap.hs
+1
-1
compiler/GHC/Driver/Backpack.hs
compiler/GHC/Driver/Backpack.hs
+15
-15
compiler/GHC/Driver/Backpack/Syntax.hs
compiler/GHC/Driver/Backpack/Syntax.hs
+2
-2
compiler/GHC/Driver/CmdLine.hs
compiler/GHC/Driver/CmdLine.hs
+1
-1
compiler/GHC/Driver/CodeOutput.hs
compiler/GHC/Driver/CodeOutput.hs
+7
-7
compiler/GHC/Driver/Finder.hs
compiler/GHC/Driver/Finder.hs
+4
-4
compiler/GHC/Driver/Hooks.hs
compiler/GHC/Driver/Hooks.hs
+25
-23
compiler/GHC/Driver/Hooks.hs-boot
compiler/GHC/Driver/Hooks.hs-boot
+1
-1
compiler/GHC/Driver/Main.hs
compiler/GHC/Driver/Main.hs
+14
-14
compiler/GHC/Driver/Make.hs
compiler/GHC/Driver/Make.hs
+11
-11
compiler/GHC/Driver/MakeFile.hs
compiler/GHC/Driver/MakeFile.hs
+8
-7
compiler/GHC/Driver/Monad.hs
compiler/GHC/Driver/Monad.hs
+3
-3
compiler/GHC/Driver/Packages.hs
compiler/GHC/Driver/Packages.hs
+2
-2
compiler/GHC/Driver/Packages.hs-boot
compiler/GHC/Driver/Packages.hs-boot
+2
-2
compiler/GHC/Driver/Phases.hs
compiler/GHC/Driver/Phases.hs
+3
-4
compiler/GHC/Driver/Pipeline.hs
compiler/GHC/Driver/Pipeline.hs
+11
-11
compiler/GHC/Driver/Pipeline/Monad.hs
compiler/GHC/Driver/Pipeline/Monad.hs
+4
-4
compiler/GHC/Driver/Plugins.hs
compiler/GHC/Driver/Plugins.hs
+6
-6
compiler/GHC/Driver/Plugins.hs-boot
compiler/GHC/Driver/Plugins.hs-boot
+1
-1
compiler/GHC/Driver/Session.hs
compiler/GHC/Driver/Session.hs
+10
-10
compiler/GHC/Driver/Session.hs-boot
compiler/GHC/Driver/Session.hs-boot
+1
-1
compiler/GHC/Driver/Types.hs
compiler/GHC/Driver/Types.hs
+11
-11
compiler/GHC/HsToCore.hs
compiler/GHC/HsToCore.hs
+3
-3
compiler/GHC/HsToCore/Binds.hs
compiler/GHC/HsToCore/Binds.hs
+1
-1
compiler/GHC/HsToCore/Coverage.hs
compiler/GHC/HsToCore/Coverage.hs
+2
-2
compiler/GHC/HsToCore/Expr.hs
compiler/GHC/HsToCore/Expr.hs
+1
-1
compiler/GHC/HsToCore/Foreign/Call.hs
compiler/GHC/HsToCore/Foreign/Call.hs
+1
-1
compiler/GHC/HsToCore/Foreign/Decl.hs
compiler/GHC/HsToCore/Foreign/Decl.hs
+3
-3
compiler/GHC/HsToCore/GuardedRHSs.hs
compiler/GHC/HsToCore/GuardedRHSs.hs
+1
-1
compiler/GHC/HsToCore/ListComp.hs
compiler/GHC/HsToCore/ListComp.hs
+1
-1
compiler/GHC/HsToCore/Match.hs
compiler/GHC/HsToCore/Match.hs
+1
-1
compiler/GHC/HsToCore/Match/Literal.hs
compiler/GHC/HsToCore/Match/Literal.hs
+1
-1
compiler/GHC/HsToCore/Monad.hs
compiler/GHC/HsToCore/Monad.hs
+2
-2
compiler/GHC/HsToCore/PmCheck.hs
compiler/GHC/HsToCore/PmCheck.hs
+1
-1
compiler/GHC/HsToCore/PmCheck/Oracle.hs
compiler/GHC/HsToCore/PmCheck/Oracle.hs
+1
-1
compiler/GHC/HsToCore/Quote.hs
compiler/GHC/HsToCore/Quote.hs
+2
-2
compiler/GHC/HsToCore/Usage.hs
compiler/GHC/HsToCore/Usage.hs
+4
-4
compiler/GHC/HsToCore/Utils.hs
compiler/GHC/HsToCore/Utils.hs
+1
-1
compiler/GHC/Iface/Binary.hs
compiler/GHC/Iface/Binary.hs
+2
-2
compiler/GHC/Iface/Env.hs
compiler/GHC/Iface/Env.hs
+1
-1
compiler/GHC/Iface/Ext/Ast.hs
compiler/GHC/Iface/Ext/Ast.hs
+1
-1
compiler/GHC/Iface/Ext/Utils.hs
compiler/GHC/Iface/Ext/Utils.hs
+1
-1
compiler/GHC/Iface/Load.hs
compiler/GHC/Iface/Load.hs
+6
-6
compiler/GHC/Iface/Load.hs-boot
compiler/GHC/Iface/Load.hs-boot
+1
-1
compiler/GHC/Iface/Rename.hs
compiler/GHC/Iface/Rename.hs
+3
-3
compiler/GHC/Iface/Syntax.hs
compiler/GHC/Iface/Syntax.hs
+3
-3
compiler/GHC/Iface/Tidy.hs
compiler/GHC/Iface/Tidy.hs
+2
-2
compiler/GHC/Iface/Utils.hs
compiler/GHC/Iface/Utils.hs
+5
-5
compiler/GHC/IfaceToCore.hs
compiler/GHC/IfaceToCore.hs
+4
-4
compiler/GHC/IfaceToCore.hs-boot
compiler/GHC/IfaceToCore.hs-boot
+1
-1
compiler/GHC/Llvm/Types.hs
compiler/GHC/Llvm/Types.hs
+1
-1
compiler/GHC/Plugins.hs
compiler/GHC/Plugins.hs
+9
-9
compiler/GHC/Rename/Binds.hs
compiler/GHC/Rename/Binds.hs
+1
-1
compiler/GHC/Rename/Env.hs
compiler/GHC/Rename/Env.hs
+2
-2
compiler/GHC/Rename/Expr.hs
compiler/GHC/Rename/Expr.hs
+1
-1
compiler/GHC/Rename/Fixity.hs
compiler/GHC/Rename/Fixity.hs
+1
-1
compiler/GHC/Rename/Names.hs
compiler/GHC/Rename/Names.hs
+5
-5
compiler/GHC/Rename/Source.hs
compiler/GHC/Rename/Source.hs
+3
-3
compiler/GHC/Rename/Splice.hs
compiler/GHC/Rename/Splice.hs
+2
-2
compiler/GHC/Rename/Types.hs
compiler/GHC/Rename/Types.hs
+1
-1
compiler/GHC/Rename/Unbound.hs
compiler/GHC/Rename/Unbound.hs
+2
-2
compiler/GHC/Rename/Utils.hs
compiler/GHC/Rename/Utils.hs
+2
-2
compiler/GHC/Runtime/Debugger.hs
compiler/GHC/Runtime/Debugger.hs
+3
-3
compiler/GHC/Runtime/Eval.hs
compiler/GHC/Runtime/Eval.hs
+4
-4
compiler/GHC/Runtime/Heap/Inspect.hs
compiler/GHC/Runtime/Heap/Inspect.hs
+2
-2
compiler/GHC/Runtime/Heap/Layout.hs
compiler/GHC/Runtime/Heap/Layout.hs
+1
-1
compiler/GHC/Runtime/Interpreter.hs
compiler/GHC/Runtime/Interpreter.hs
+3
-3
compiler/GHC/Runtime/Linker.hs
compiler/GHC/Runtime/Linker.hs
+5
-5
compiler/GHC/Runtime/Loader.hs
compiler/GHC/Runtime/Loader.hs
+5
-5
compiler/GHC/Stg/Lift.hs
compiler/GHC/Stg/Lift.hs
+1
-1
compiler/GHC/Stg/Lift/Analysis.hs
compiler/GHC/Stg/Lift/Analysis.hs
+1
-1
compiler/GHC/Stg/Lift/Monad.hs
compiler/GHC/Stg/Lift/Monad.hs
+1
-1
compiler/GHC/Stg/Lint.hs
compiler/GHC/Stg/Lint.hs
+1
-1
compiler/GHC/Stg/Pipeline.hs
compiler/GHC/Stg/Pipeline.hs
+1
-1
compiler/GHC/Stg/Syntax.hs
compiler/GHC/Stg/Syntax.hs
+2
-2
compiler/GHC/StgToCmm.hs
compiler/GHC/StgToCmm.hs
+2
-2
compiler/GHC/StgToCmm/ArgRep.hs
compiler/GHC/StgToCmm/ArgRep.hs
+1
-1
compiler/GHC/StgToCmm/Bind.hs
compiler/GHC/StgToCmm/Bind.hs
+1
-1
compiler/GHC/StgToCmm/CgUtils.hs
compiler/GHC/StgToCmm/CgUtils.hs
+1
-1
compiler/GHC/StgToCmm/Closure.hs
compiler/GHC/StgToCmm/Closure.hs
+1
-1
compiler/GHC/StgToCmm/DataCon.hs
compiler/GHC/StgToCmm/DataCon.hs
+1
-1
compiler/GHC/StgToCmm/Env.hs
compiler/GHC/StgToCmm/Env.hs
+1
-1
compiler/GHC/StgToCmm/Expr.hs
compiler/GHC/StgToCmm/Expr.hs
+1
-1
compiler/GHC/StgToCmm/ExtCode.hs
compiler/GHC/StgToCmm/ExtCode.hs
+1
-1
compiler/GHC/StgToCmm/Foreign.hs
compiler/GHC/StgToCmm/Foreign.hs
+1
-1
compiler/GHC/StgToCmm/Heap.hs
compiler/GHC/StgToCmm/Heap.hs
+1
-1
compiler/GHC/StgToCmm/Hpc.hs
compiler/GHC/StgToCmm/Hpc.hs
+2
-2
compiler/GHC/StgToCmm/Layout.hs
compiler/GHC/StgToCmm/Layout.hs
+1
-1
compiler/GHC/StgToCmm/Monad.hs
compiler/GHC/StgToCmm/Monad.hs
+1
-1
compiler/GHC/StgToCmm/Prim.hs
compiler/GHC/StgToCmm/Prim.hs
+1
-1
compiler/GHC/StgToCmm/Prof.hs
compiler/GHC/StgToCmm/Prof.hs
+1
-1
compiler/GHC/StgToCmm/Ticky.hs
compiler/GHC/StgToCmm/Ticky.hs
+1
-1
compiler/GHC/StgToCmm/Utils.hs
compiler/GHC/StgToCmm/Utils.hs
+1
-1
compiler/GHC/Types/Name/Shape.hs
compiler/GHC/Types/Name/Shape.hs
+2
-2
compiler/basicTypes/Demand.hs
compiler/basicTypes/Demand.hs
+1
-1
compiler/basicTypes/Id.hs
compiler/basicTypes/Id.hs
+1
-1
compiler/basicTypes/Literal.hs
compiler/basicTypes/Literal.hs
+1
-1
compiler/basicTypes/MkId.hs
compiler/basicTypes/MkId.hs
+1
-1
compiler/basicTypes/Module.hs
compiler/basicTypes/Module.hs
+2
-2
compiler/basicTypes/Name.hs
compiler/basicTypes/Name.hs
+2
-2
compiler/basicTypes/RdrName.hs
compiler/basicTypes/RdrName.hs
+1
-1
compiler/coreSyn/CoreArity.hs
compiler/coreSyn/CoreArity.hs
+1
-1
compiler/coreSyn/CoreLint.hs
compiler/coreSyn/CoreLint.hs
+3
-3
compiler/coreSyn/CoreOpt.hs
compiler/coreSyn/CoreOpt.hs
+1
-1
compiler/coreSyn/CoreSyn.hs
compiler/coreSyn/CoreSyn.hs
+2
-2
compiler/coreSyn/CoreUnfold.hs
compiler/coreSyn/CoreUnfold.hs
+1
-1
compiler/coreSyn/CoreUnfold.hs-boot
compiler/coreSyn/CoreUnfold.hs-boot
+1
-1
compiler/coreSyn/CoreUtils.hs
compiler/coreSyn/CoreUtils.hs
+1
-1
compiler/coreSyn/MkCore.hs
compiler/coreSyn/MkCore.hs
+2
-2
compiler/ghc.cabal.in
compiler/ghc.cabal.in
+19
-20
compiler/ghc.mk
compiler/ghc.mk
+5
-5
compiler/iface/BuildTyCl.hs
compiler/iface/BuildTyCl.hs
+1
-1
compiler/iface/FlagChecker.hs
compiler/iface/FlagChecker.hs
+2
-2
compiler/main/Elf.hs
compiler/main/Elf.hs
+1
-1
compiler/main/ErrUtils.hs
compiler/main/ErrUtils.hs
+2
-2
compiler/main/ErrUtils.hs-boot
compiler/main/ErrUtils.hs-boot
+1
-1
compiler/main/FileCleanup.hs
compiler/main/FileCleanup.hs
+2
-2
compiler/main/HeaderInfo.hs
compiler/main/HeaderInfo.hs
+2
-2
compiler/main/PprTyThing.hs
compiler/main/PprTyThing.hs
+1
-1
compiler/main/StaticPtrTable.hs
compiler/main/StaticPtrTable.hs
+3
-3
compiler/main/SysTools.hs
compiler/main/SysTools.hs
+2
-2
compiler/main/SysTools/ExtraObj.hs
compiler/main/SysTools/ExtraObj.hs
+2
-2
compiler/main/SysTools/Info.hs
compiler/main/SysTools/Info.hs
+1
-1
compiler/main/SysTools/Process.hs
compiler/main/SysTools/Process.hs
+1
-1
compiler/main/SysTools/Tasks.hs
compiler/main/SysTools/Tasks.hs
+2
-2
compiler/main/UpdateCafInfos.hs
compiler/main/UpdateCafInfos.hs
+1
-1
compiler/nativeGen/AsmCodeGen.hs
compiler/nativeGen/AsmCodeGen.hs
+1
-1
compiler/nativeGen/BlockLayout.hs
compiler/nativeGen/BlockLayout.hs
+1
-1
compiler/nativeGen/CFG.hs
compiler/nativeGen/CFG.hs
+1
-1
compiler/nativeGen/Dwarf.hs
compiler/nativeGen/Dwarf.hs
+1
-1
compiler/nativeGen/Instruction.hs
compiler/nativeGen/Instruction.hs
+1
-1
compiler/nativeGen/NCGMonad.hs
compiler/nativeGen/NCGMonad.hs
+1
-1
compiler/nativeGen/PIC.hs
compiler/nativeGen/PIC.hs
+1
-1
compiler/nativeGen/PPC/CodeGen.hs
compiler/nativeGen/PPC/CodeGen.hs
+1
-1
compiler/nativeGen/PPC/Instr.hs
compiler/nativeGen/PPC/Instr.hs
+1
-1
compiler/nativeGen/PPC/Ppr.hs
compiler/nativeGen/PPC/Ppr.hs
+1
-1
compiler/nativeGen/PPC/Regs.hs
compiler/nativeGen/PPC/Regs.hs
+1
-1
compiler/nativeGen/PprBase.hs
compiler/nativeGen/PprBase.hs
+1
-1
compiler/nativeGen/RegAlloc/Graph/Main.hs
compiler/nativeGen/RegAlloc/Graph/Main.hs
+1
-1
compiler/nativeGen/RegAlloc/Linear/Base.hs
compiler/nativeGen/RegAlloc/Linear/Base.hs
+1
-1
compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
+1
-1
compiler/nativeGen/RegAlloc/Linear/JoinToTargets.hs
compiler/nativeGen/RegAlloc/Linear/JoinToTargets.hs
+1
-1
compiler/nativeGen/RegAlloc/Linear/Main.hs
compiler/nativeGen/RegAlloc/Linear/Main.hs
+1
-1
compiler/nativeGen/RegAlloc/Linear/StackMap.hs
compiler/nativeGen/RegAlloc/Linear/StackMap.hs
+1
-1
compiler/nativeGen/RegAlloc/Linear/State.hs
compiler/nativeGen/RegAlloc/Linear/State.hs
+1
-1
compiler/nativeGen/RegAlloc/Liveness.hs
compiler/nativeGen/RegAlloc/Liveness.hs
+1
-1
compiler/nativeGen/SPARC/Base.hs
compiler/nativeGen/SPARC/Base.hs
+1
-1
compiler/nativeGen/SPARC/CodeGen.hs
compiler/nativeGen/SPARC/CodeGen.hs
+1
-1
compiler/nativeGen/SPARC/CodeGen/Base.hs
compiler/nativeGen/SPARC/CodeGen/Base.hs
+1
-1
compiler/nativeGen/SPARC/CodeGen/Gen32.hs
compiler/nativeGen/SPARC/CodeGen/Gen32.hs
+1
-1
compiler/nativeGen/SPARC/CodeGen/Gen64.hs
compiler/nativeGen/SPARC/CodeGen/Gen64.hs
+1
-1
compiler/nativeGen/SPARC/Instr.hs
compiler/nativeGen/SPARC/Instr.hs
+1
-1
compiler/nativeGen/SPARC/Stack.hs
compiler/nativeGen/SPARC/Stack.hs
+1
-1
compiler/nativeGen/X86/CodeGen.hs
compiler/nativeGen/X86/CodeGen.hs
+1
-1
compiler/nativeGen/X86/Instr.hs
compiler/nativeGen/X86/Instr.hs
+1
-1
compiler/nativeGen/X86/Ppr.hs
compiler/nativeGen/X86/Ppr.hs
+1
-1
compiler/nativeGen/X86/Regs.hs
compiler/nativeGen/X86/Regs.hs
+1
-1
compiler/parser/Lexer.x
compiler/parser/Lexer.x
+1
-1
compiler/parser/Parser.y
compiler/parser/Parser.y
+4
-4
compiler/parser/RdrHsSyn.hs
compiler/parser/RdrHsSyn.hs
+1
-1
compiler/prelude/PrelInfo.hs
compiler/prelude/PrelInfo.hs
+1
-1
compiler/prelude/PrelNames.hs
compiler/prelude/PrelNames.hs
+1
-1
compiler/prelude/PrelRules.hs
compiler/prelude/PrelRules.hs
+1
-1
compiler/profiling/ProfInit.hs
compiler/profiling/ProfInit.hs
+1
-1
compiler/simplCore/CallArity.hs
compiler/simplCore/CallArity.hs
+1
-1
compiler/simplCore/CoreMonad.hs
compiler/simplCore/CoreMonad.hs
+2
-2
compiler/simplCore/FloatIn.hs
compiler/simplCore/FloatIn.hs
+2
-2
compiler/simplCore/FloatOut.hs
compiler/simplCore/FloatOut.hs
+1
-1
compiler/simplCore/LiberateCase.hs
compiler/simplCore/LiberateCase.hs
+1
-1
compiler/simplCore/SimplCore.hs
compiler/simplCore/SimplCore.hs
+3
-3
compiler/simplCore/SimplEnv.hs
compiler/simplCore/SimplEnv.hs
+1
-1
compiler/simplCore/SimplMonad.hs
compiler/simplCore/SimplMonad.hs
+1
-1
compiler/simplCore/SimplUtils.hs
compiler/simplCore/SimplUtils.hs
+1
-1
compiler/simplCore/Simplify.hs
compiler/simplCore/Simplify.hs
+1
-1
compiler/specialise/Rules.hs
compiler/specialise/Rules.hs
+1
-1
compiler/specialise/SpecConstr.hs
compiler/specialise/SpecConstr.hs
+2
-2
compiler/specialise/Specialise.hs
compiler/specialise/Specialise.hs
+2
-2
compiler/stranal/CprAnal.hs
compiler/stranal/CprAnal.hs
+1
-1
compiler/stranal/DmdAnal.hs
compiler/stranal/DmdAnal.hs
+1
-1
compiler/stranal/WorkWrap.hs
compiler/stranal/WorkWrap.hs
+1
-1
compiler/stranal/WwLib.hs
compiler/stranal/WwLib.hs
+1
-1
compiler/typecheck/ClsInst.hs
compiler/typecheck/ClsInst.hs
+1
-1
compiler/typecheck/Constraint.hs
compiler/typecheck/Constraint.hs
+1
-1
compiler/typecheck/FamInst.hs
compiler/typecheck/FamInst.hs
+3
-3
compiler/typecheck/Inst.hs
compiler/typecheck/Inst.hs
+2
-2
compiler/typecheck/TcAnnotations.hs
compiler/typecheck/TcAnnotations.hs
+1
-1
compiler/typecheck/TcBackpack.hs
compiler/typecheck/TcBackpack.hs
+7
-7
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcBinds.hs
+1
-1
compiler/typecheck/TcCanonical.hs
compiler/typecheck/TcCanonical.hs
+1
-1
compiler/typecheck/TcClassDcl.hs
compiler/typecheck/TcClassDcl.hs
+2
-2
compiler/typecheck/TcDeriv.hs
compiler/typecheck/TcDeriv.hs
+1
-1
compiler/typecheck/TcDerivUtils.hs
compiler/typecheck/TcDerivUtils.hs
+2
-2
compiler/typecheck/TcEnv.hs
compiler/typecheck/TcEnv.hs
+2
-2
compiler/typecheck/TcErrors.hs
compiler/typecheck/TcErrors.hs
+1
-1
compiler/typecheck/TcEvTerm.hs
compiler/typecheck/TcEvTerm.hs
+2
-2
compiler/typecheck/TcExpr.hs
compiler/typecheck/TcExpr.hs
+1
-1
compiler/typecheck/TcForeign.hs
compiler/typecheck/TcForeign.hs
+2
-2
compiler/typecheck/TcGenDeriv.hs
compiler/typecheck/TcGenDeriv.hs
+1
-1
compiler/typecheck/TcGenGenerics.hs
compiler/typecheck/TcGenGenerics.hs
+1
-1
compiler/typecheck/TcHoleErrors.hs
compiler/typecheck/TcHoleErrors.hs
+2
-2
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcHsSyn.hs
+2
-2
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcHsType.hs
+1
-1
compiler/typecheck/TcInstDcls.hs
compiler/typecheck/TcInstDcls.hs
+1
-1
compiler/typecheck/TcInteract.hs
compiler/typecheck/TcInteract.hs
+1
-1
compiler/typecheck/TcMType.hs
compiler/typecheck/TcMType.hs
+1
-1
compiler/typecheck/TcPat.hs
compiler/typecheck/TcPat.hs
+1
-1
compiler/typecheck/TcPluginM.hs
compiler/typecheck/TcPluginM.hs
+2
-2
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcRnDriver.hs
+5
-5
compiler/typecheck/TcRnExports.hs
compiler/typecheck/TcRnExports.hs
+2
-2
compiler/typecheck/TcRnMonad.hs
compiler/typecheck/TcRnMonad.hs
+2
-2
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcRnTypes.hs
+8
-8
compiler/typecheck/TcSMonad.hs
compiler/typecheck/TcSMonad.hs
+2
-2
compiler/typecheck/TcSigs.hs
compiler/typecheck/TcSigs.hs
+1
-1
compiler/typecheck/TcSimplify.hs
compiler/typecheck/TcSimplify.hs
+3
-3
compiler/typecheck/TcSplice.hs
compiler/typecheck/TcSplice.hs
+7
-7
compiler/typecheck/TcTyClsDecls.hs
compiler/typecheck/TcTyClsDecls.hs
+2
-2
compiler/typecheck/TcTyDecls.hs
compiler/typecheck/TcTyDecls.hs
+1
-1
compiler/typecheck/TcType.hs
compiler/typecheck/TcType.hs
+1
-1
compiler/typecheck/TcTypeable.hs
compiler/typecheck/TcTypeable.hs
+2
-2
compiler/typecheck/TcUnify.hs
compiler/typecheck/TcUnify.hs
+1
-1
compiler/typecheck/TcValidity.hs
compiler/typecheck/TcValidity.hs
+1
-1
compiler/types/CoAxiom.hs
compiler/types/CoAxiom.hs
+1
-1
compiler/types/OptCoercion.hs
compiler/types/OptCoercion.hs
+1
-1
compiler/types/TyCon.hs
compiler/types/TyCon.hs
+1
-1
compiler/utils/AsmUtils.hs
compiler/utils/AsmUtils.hs
+1
-1
compiler/utils/IOEnv.hs
compiler/utils/IOEnv.hs
+1
-1
compiler/utils/Outputable.hs
compiler/utils/Outputable.hs
+6
-5
docs/users_guide/extending_ghc.rst
docs/users_guide/extending_ghc.rst
+14
-14
ghc/GHCi/Leak.hs
ghc/GHCi/Leak.hs
+1
-1
ghc/GHCi/UI.hs
ghc/GHCi/UI.hs
+7
-7
ghc/GHCi/UI/Info.hs
ghc/GHCi/UI/Info.hs
+2
-2
ghc/GHCi/UI/Monad.hs
ghc/GHCi/UI/Monad.hs
+3
-3
ghc/GHCi/UI/Tags.hs
ghc/GHCi/UI/Tags.hs
+1
-1
ghc/Main.hs
ghc/Main.hs
+12
-12
hadrian/src/Settings/Packages.hs
hadrian/src/Settings/Packages.hs
+2
-2
mk/config.mk.in
mk/config.mk.in
+1
-1
nofib
nofib
+1
-1
testsuite/tests/annotations/should_run/annrun01.hs
testsuite/tests/annotations/should_run/annrun01.hs
+1
-1
testsuite/tests/callarity/unittest/CallArity1.hs
testsuite/tests/callarity/unittest/CallArity1.hs
+1
-1
testsuite/tests/codeGen/should_run/T13825-unit.hs
testsuite/tests/codeGen/should_run/T13825-unit.hs
+2
-2
testsuite/tests/driver/T4437.hs
testsuite/tests/driver/T4437.hs
+1
-1
testsuite/tests/ghc-api/T10508_api.hs
testsuite/tests/ghc-api/T10508_api.hs
+1
-1
testsuite/tests/ghc-api/T10942.hs
testsuite/tests/ghc-api/T10942.hs
+1
-1
testsuite/tests/ghc-api/T11579.hs
testsuite/tests/ghc-api/T11579.hs
+1
-1
testsuite/tests/ghc-api/T12099.hs
testsuite/tests/ghc-api/T12099.hs
+1
-1
testsuite/tests/ghc-api/T4891/T4891.hs
testsuite/tests/ghc-api/T4891/T4891.hs
+2
-2
testsuite/tests/ghc-api/T7478/T7478.hs
testsuite/tests/ghc-api/T7478/T7478.hs
+1
-1
testsuite/tests/ghc-api/T8628.hs
testsuite/tests/ghc-api/T8628.hs
+1
-1
testsuite/tests/ghc-api/T8639_api.hs
testsuite/tests/ghc-api/T8639_api.hs
+1
-1
testsuite/tests/ghc-api/T9015.hs
testsuite/tests/ghc-api/T9015.hs
+2
-2
testsuite/tests/ghc-api/T9595.hs
testsuite/tests/ghc-api/T9595.hs
+3
-3
testsuite/tests/ghc-api/annotations-literals/literals.hs
testsuite/tests/ghc-api/annotations-literals/literals.hs
+1
-1
testsuite/tests/ghc-api/annotations-literals/parsed.hs
testsuite/tests/ghc-api/annotations-literals/parsed.hs
+1
-1
testsuite/tests/ghc-api/annotations/CheckUtils.hs
testsuite/tests/ghc-api/annotations/CheckUtils.hs
+1
-1
testsuite/tests/ghc-api/annotations/annotations.hs
testsuite/tests/ghc-api/annotations/annotations.hs
+1
-1
testsuite/tests/ghc-api/annotations/comments.hs
testsuite/tests/ghc-api/annotations/comments.hs
+1
-1
testsuite/tests/ghc-api/annotations/listcomps.hs
testsuite/tests/ghc-api/annotations/listcomps.hs
+1
-1
testsuite/tests/ghc-api/annotations/parseTree.hs
testsuite/tests/ghc-api/annotations/parseTree.hs
+1
-1
testsuite/tests/ghc-api/annotations/stringSource.hs
testsuite/tests/ghc-api/annotations/stringSource.hs
+1
-1
testsuite/tests/ghc-api/annotations/t11430.hs
testsuite/tests/ghc-api/annotations/t11430.hs
+1
-1
testsuite/tests/ghc-api/apirecomp001/myghc.hs
testsuite/tests/ghc-api/apirecomp001/myghc.hs
+1
-1
testsuite/tests/ghc-api/downsweep/OldModLocation.hs
testsuite/tests/ghc-api/downsweep/OldModLocation.hs
+3
-3
testsuite/tests/ghc-api/downsweep/PartialDownsweep.hs
testsuite/tests/ghc-api/downsweep/PartialDownsweep.hs
+2
-2
testsuite/tests/ghc-api/target-contents/TargetContents.hs
testsuite/tests/ghc-api/target-contents/TargetContents.hs
+2
-2
testsuite/tests/ghci/should_run/tc-plugin-ghci/TcPluginGHCi.hs
...uite/tests/ghci/should_run/tc-plugin-ghci/TcPluginGHCi.hs
+1
-1
testsuite/tests/hiefile/should_run/PatTypes.hs
testsuite/tests/hiefile/should_run/PatTypes.hs
+1
-1
testsuite/tests/parser/should_run/CountParserDeps.hs
testsuite/tests/parser/should_run/CountParserDeps.hs
+3
-3
testsuite/tests/plugins/FrontendPlugin.hs
testsuite/tests/plugins/FrontendPlugin.hs
+3
-3
testsuite/tests/plugins/HomePackagePlugin.hs
testsuite/tests/plugins/HomePackagePlugin.hs
+1
-1
testsuite/tests/plugins/LinkerTicklingPlugin.hs
testsuite/tests/plugins/LinkerTicklingPlugin.hs
+2
-2
testsuite/tests/plugins/T16104-plugin/T16104_Plugin.hs
testsuite/tests/plugins/T16104-plugin/T16104_Plugin.hs
+1
-1
testsuite/tests/plugins/annotation-plugin/SayAnnNames.hs
testsuite/tests/plugins/annotation-plugin/SayAnnNames.hs
+1
-1
testsuite/tests/plugins/hole-fit-plugin/HoleFitPlugin.hs
testsuite/tests/plugins/hole-fit-plugin/HoleFitPlugin.hs
+1
-1
testsuite/tests/plugins/hooks-plugin/Hooks/Plugin.hs
testsuite/tests/plugins/hooks-plugin/Hooks/Plugin.hs
+2
-2
testsuite/tests/plugins/plugin-recomp/Common.hs
testsuite/tests/plugins/plugin-recomp/Common.hs
+1
-1
testsuite/tests/plugins/plugin-recomp/FingerprintPlugin.hs
testsuite/tests/plugins/plugin-recomp/FingerprintPlugin.hs
+1
-1
testsuite/tests/plugins/plugin-recomp/ImpurePlugin.hs
testsuite/tests/plugins/plugin-recomp/ImpurePlugin.hs
+1
-1
testsuite/tests/plugins/plugin-recomp/PurePlugin.hs
testsuite/tests/plugins/plugin-recomp/PurePlugin.hs
+1
-1
testsuite/tests/plugins/rule-defining-plugin/RuleDefiningPlugin.hs
.../tests/plugins/rule-defining-plugin/RuleDefiningPlugin.hs
+1
-1
testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs
testsuite/tests/plugins/simple-plugin/Simple/Plugin.hs
+1
-1
testsuite/tests/plugins/simple-plugin/Simple/RemovePlugin.hs
testsuite/tests/plugins/simple-plugin/Simple/RemovePlugin.hs
+2
-2
testsuite/tests/plugins/simple-plugin/Simple/SourcePlugin.hs
testsuite/tests/plugins/simple-plugin/Simple/SourcePlugin.hs
+2
-2
testsuite/tests/plugins/simple-plugin/Simple/TrustworthyPlugin.hs
...e/tests/plugins/simple-plugin/Simple/TrustworthyPlugin.hs
+1
-1
testsuite/tests/plugins/static-plugins.hs
testsuite/tests/plugins/static-plugins.hs
+3
-3
testsuite/tests/quasiquotation/T7918.hs
testsuite/tests/quasiquotation/T7918.hs
+1
-1
testsuite/tests/regalloc/regalloc_unit_tests.hs
testsuite/tests/regalloc/regalloc_unit_tests.hs
+3
-3
testsuite/tests/rts/linker/LinkerUnload.hs
testsuite/tests/rts/linker/LinkerUnload.hs
+1
-1
testsuite/tests/simplCore/should_compile/T7702plugin/T7702Plugin.hs
...tests/simplCore/should_compile/T7702plugin/T7702Plugin.hs
+1
-1
testsuite/tests/typecheck/should_compile/T11462_Plugin.hs
testsuite/tests/typecheck/should_compile/T11462_Plugin.hs
+1
-1
testsuite/tests/typecheck/should_compile/T11525_Plugin.hs
testsuite/tests/typecheck/should_compile/T11525_Plugin.hs
+1
-1
testsuite/tests/unboxedsums/unboxedsums_unit_tests.hs
testsuite/tests/unboxedsums/unboxedsums_unit_tests.hs
+1
-1
utils/check-api-annotations/Main.hs
utils/check-api-annotations/Main.hs
+1
-1
utils/check-ppr/Main.hs
utils/check-ppr/Main.hs
+1
-1
utils/haddock
utils/haddock
+1
-1
No files found.
compiler/
main/
GHC.hs
→
compiler/GHC.hs
View file @
240f5bf6
...
...
@@ -288,7 +288,7 @@ module GHC (
{-
ToDo:
* inline bits of
Hsc
Main here to simplify layering: hscTcExpr, hscStmt.
* inline bits of
GHC.Driver.
Main here to simplify layering: hscTcExpr, hscStmt.
-}
#
include
"HsVersions.h"
...
...
@@ -302,15 +302,15 @@ import GHC.Runtime.Interpreter
import
GHCi.RemoteTypes
import
PprTyThing
(
pprFamInst
)
import
Hsc
Main
import
G
hc
Make
import
Driver
Pipeline
(
compileOne'
)
import
G
hc
Monad
import
GHC.Driver.
Main
import
G
HC.Driver.
Make
import
GHC.Driver.
Pipeline
(
compileOne'
)
import
G
HC.Driver.
Monad
import
TcRnMonad
(
finalSafeMode
,
fixSafeInstances
,
initIfaceTcRn
)
import
GHC.Iface.Load
(
loadSysInterface
)
import
TcRnTypes
import
Predicate
import
Packages
import
GHC.Driver.
Packages
import
NameSet
import
RdrName
import
GHC.Hs
...
...
@@ -329,11 +329,11 @@ import FamInstEnv ( FamInst )
import
SrcLoc
import
CoreSyn
import
GHC.Iface.Tidy
import
Driver
Phases
(
Phase
(
..
),
isHaskellSrcFilename
)
import
Finder
import
Hsc
Types
import
CmdLineParser
import
DynFlags
hiding
(
WarnReason
(
..
))
import
GHC.Driver.
Phases
(
Phase
(
..
),
isHaskellSrcFilename
)
import
GHC.Driver.
Finder
import
GHC.Driver.
Types
import
GHC.Driver.CmdLine
import
GHC.Driver.Session
hiding
(
WarnReason
(
..
))
import
SysTools
import
SysTools.BaseDir
import
Annotations
...
...
@@ -1364,7 +1364,7 @@ getModuleSourceAndFlags mod = do
-- | Return module source as token stream, including comments.
--
-- The module must be in the module graph and its source must be available.
-- Throws a '
Hsc
Types.SourceError' on parse error.
-- Throws a '
GHC.Driver.
Types.SourceError' on parse error.
getTokenStream
::
GhcMonad
m
=>
Module
->
m
[
Located
Token
]
getTokenStream
mod
=
do
(
sourceFile
,
source
,
flags
)
<-
getModuleSourceAndFlags
mod
...
...
compiler/GHC/ByteCode/Asm.hs
View file @
240f5bf6
...
...
@@ -23,7 +23,7 @@ import GHC.ByteCode.Types
import
GHCi.RemoteTypes
import
GHC.Runtime.Interpreter
import
Hsc
Types
import
GHC.Driver.
Types
import
Name
import
NameSet
import
Literal
...
...
@@ -31,7 +31,7 @@ import TyCon
import
FastString
import
GHC.StgToCmm.Layout
(
ArgRep
(
..
)
)
import
GHC.Runtime.Heap.Layout
import
DynFlags
import
GHC.Driver.Session
import
Outputable
import
GHC.Platform
import
Util
...
...
compiler/GHC/ByteCode/InfoTable.hs
View file @
240f5bf6
...
...
@@ -13,8 +13,8 @@ import GhcPrelude
import
GHC.ByteCode.Types
import
GHC.Runtime.Interpreter
import
DynFlags
import
Hsc
Types
import
GHC.Driver.Session
import
GHC.Driver.
Types
import
Name
(
Name
,
getName
)
import
NameEnv
import
DataCon
(
DataCon
,
dataConRepArgTys
,
dataConIdentity
)
...
...
compiler/GHC/ByteCode/Linker.hs
View file @
240f5bf6
...
...
@@ -27,7 +27,7 @@ import SizedSeq
import
GHC.Runtime.Interpreter
import
GHC.ByteCode.Types
import
Hsc
Types
import
GHC.Driver.
Types
import
Name
import
NameEnv
import
PrimOp
...
...
compiler/GHC/Cmm/CLabel.hs
View file @
240f5bf6
...
...
@@ -118,7 +118,7 @@ import GhcPrelude
import
IdInfo
import
BasicTypes
import
{-#
SOURCE
#-
}
GHC
.
Cmm
.
BlockId
(
BlockId
,
mkBlockId
)
import
Packages
import
GHC.Driver.
Packages
import
Module
import
Name
import
Unique
...
...
@@ -126,7 +126,7 @@ import PrimOp
import
CostCentre
import
Outputable
import
FastString
import
DynFlags
import
GHC.Driver.Session
import
GHC.Platform
import
UniqSet
import
Util
...
...
compiler/GHC/Cmm/CallConv.hs
View file @
240f5bf6
...
...
@@ -12,7 +12,7 @@ import GHC.Runtime.Heap.Layout
import
GHC.Cmm
(
Convention
(
..
))
import
GHC.Cmm.Ppr
()
-- For Outputable instances
import
DynFlags
import
GHC.Driver.Session
import
GHC.Platform
import
Outputable
...
...
compiler/GHC/Cmm/Expr.hs
View file @
240f5bf6
...
...
@@ -36,7 +36,7 @@ import GHC.Cmm.BlockId
import
GHC.Cmm.CLabel
import
GHC.Cmm.MachOp
import
GHC.Cmm.Type
import
DynFlags
import
GHC.Driver.Session
import
Outputable
(
panic
)
import
Unique
...
...
compiler/GHC/Cmm/Graph.hs
View file @
240f5bf6
...
...
@@ -31,7 +31,7 @@ import GHC.Cmm.Switch (SwitchTargets)
import
GHC.Cmm.Dataflow.Block
import
GHC.Cmm.Dataflow.Graph
import
GHC.Cmm.Dataflow.Label
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
ForeignCall
import
OrdList
...
...
compiler/GHC/Cmm/Info.hs
View file @
240f5bf6
...
...
@@ -46,7 +46,7 @@ import GHC.Cmm.Dataflow.Collections
import
GHC.Platform
import
Maybes
import
DynFlags
import
GHC.Driver.Session
import
ErrUtils
(
withTimingSilent
)
import
Panic
import
UniqSupply
...
...
compiler/GHC/Cmm/Info/Build.hs
View file @
240f5bf6
...
...
@@ -24,7 +24,7 @@ import Digraph
import
GHC.Cmm.CLabel
import
GHC.Cmm
import
GHC.Cmm.Utils
import
DynFlags
import
GHC.Driver.Session
import
Maybes
import
Outputable
import
GHC.Runtime.Heap.Layout
...
...
compiler/GHC/Cmm/LayoutStack.hs
View file @
240f5bf6
...
...
@@ -29,7 +29,7 @@ import Maybes
import
UniqFM
import
Util
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
Outputable
hiding
(
isEmpty
)
import
qualified
Data.Set
as
Set
...
...
compiler/GHC/Cmm/Lint.hs
View file @
240f5bf6
...
...
@@ -23,7 +23,7 @@ import GHC.Cmm.Liveness
import
GHC.Cmm.Switch
(
switchTargetsToList
)
import
GHC.Cmm.Ppr
()
-- For Outputable instances
import
Outputable
import
DynFlags
import
GHC.Driver.Session
import
Control.Monad
(
ap
)
...
...
compiler/GHC/Cmm/Liveness.hs
View file @
240f5bf6
...
...
@@ -14,7 +14,7 @@ where
import
GhcPrelude
import
DynFlags
import
GHC.Driver.Session
import
GHC.Cmm.BlockId
import
GHC.Cmm
import
GHC.Cmm.Ppr.Expr
()
-- For Outputable instances
...
...
compiler/GHC/Cmm/MachOp.hs
View file @
240f5bf6
...
...
@@ -32,7 +32,7 @@ import GhcPrelude
import
GHC.Cmm.Type
import
Outputable
import
DynFlags
import
GHC.Driver.Session
-----------------------------------------------------------------------------
-- MachOp
...
...
compiler/GHC/Cmm/Monad.hs
View file @
240f5bf6
...
...
@@ -17,7 +17,7 @@ import GhcPrelude
import
Control.Monad
import
DynFlags
import
GHC.Driver.Session
import
Lexer
newtype
PD
a
=
PD
{
unPD
::
DynFlags
->
PState
->
ParseResult
a
}
...
...
compiler/GHC/Cmm/Node.hs
View file @
240f5bf6
...
...
@@ -31,7 +31,7 @@ import GhcPrelude hiding (succ)
import
GHC.Platform.Regs
import
GHC.Cmm.Expr
import
GHC.Cmm.Switch
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
ForeignCall
import
Outputable
...
...
compiler/GHC/Cmm/Opt.hs
View file @
240f5bf6
...
...
@@ -17,7 +17,7 @@ import GhcPrelude
import
GHC.Cmm.Utils
import
GHC.Cmm
import
DynFlags
import
GHC.Driver.Session
import
Util
import
Outputable
...
...
compiler/GHC/Cmm/Parser.y
View file @
240f5bf6
...
...
@@ -242,7 +242,7 @@ import Literal
import Unique
import UniqFM
import SrcLoc
import
DynFlags
import
GHC.Driver.Session
import ErrUtils
import StringBuffer
import FastString
...
...
compiler/GHC/Cmm/Pipeline.hs
View file @
240f5bf6
...
...
@@ -23,9 +23,9 @@ import GHC.Cmm.Sink
import
GHC.Cmm.Dataflow.Collections
import
UniqSupply
import
DynFlags
import
GHC.Driver.Session
import
ErrUtils
import
Hsc
Types
import
GHC.Driver.
Types
import
Control.Monad
import
Outputable
import
GHC.Platform
...
...
compiler/GHC/Cmm/Ppr/Decl.hs
View file @
240f5bf6
...
...
@@ -43,7 +43,7 @@ import GhcPrelude
import
GHC.Cmm.Ppr.Expr
import
GHC.Cmm
import
DynFlags
import
GHC.Driver.Session
import
Outputable
import
FastString
...
...
compiler/GHC/Cmm/ProcPoint.hs
View file @
240f5bf6
...
...
@@ -11,7 +11,7 @@ where
import
GhcPrelude
hiding
(
last
,
unzip
,
succ
,
zip
)
import
DynFlags
import
GHC.Driver.Session
import
GHC.Cmm.BlockId
import
GHC.Cmm.CLabel
import
GHC.Cmm
...
...
compiler/GHC/Cmm/Sink.hs
View file @
240f5bf6
...
...
@@ -16,7 +16,7 @@ import GHC.Cmm.Dataflow.Graph
import
GHC.Platform.Regs
import
GHC.Platform
(
isARM
,
platformArch
)
import
DynFlags
import
GHC.Driver.Session
import
Unique
import
UniqFM
...
...
compiler/GHC/Cmm/Switch.hs
View file @
240f5bf6
...
...
@@ -15,7 +15,7 @@ module GHC.Cmm.Switch (
import
GhcPrelude
import
Outputable
import
DynFlags
import
GHC.Driver.Session
import
GHC.Cmm.Dataflow.Label
(
Label
)
import
Data.Maybe
...
...
compiler/GHC/Cmm/Switch/Implement.hs
View file @
240f5bf6
...
...
@@ -12,7 +12,7 @@ import GHC.Cmm
import
GHC.Cmm.Utils
import
GHC.Cmm.Switch
import
UniqSupply
import
DynFlags
import
GHC.Driver.Session
import
MonadUtils
(
concatMapM
)
--
...
...
compiler/GHC/Cmm/Type.hs
View file @
240f5bf6
...
...
@@ -31,7 +31,7 @@ where
import
GhcPrelude
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
Outputable
...
...
compiler/GHC/Cmm/Utils.hs
View file @
240f5bf6
...
...
@@ -80,7 +80,7 @@ import GHC.Cmm
import
GHC.Cmm.BlockId
import
GHC.Cmm.CLabel
import
Outputable
import
DynFlags
import
GHC.Driver.Session
import
Unique
import
GHC.Platform.Regs
...
...
compiler/GHC/CmmToC.hs
View file @
240f5bf6
...
...
@@ -40,7 +40,7 @@ import GHC.Cmm.Switch
-- Utils
import
CPrim
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
Outputable
import
GHC.Platform
...
...
compiler/GHC/CmmToLlvm.hs
View file @
240f5bf6
...
...
@@ -29,7 +29,7 @@ import GHC.Cmm.Dataflow.Collections
import
GHC.Cmm.Ppr
import
BufWrite
import
DynFlags
import
GHC.Driver.Session
import
GHC.Platform
(
platformArch
,
Arch
(
..
)
)
import
ErrUtils
import
FastString
...
...
compiler/GHC/CmmToLlvm/Base.hs
View file @
240f5bf6
...
...
@@ -48,7 +48,7 @@ import GHC.CmmToLlvm.Regs
import
GHC.Cmm.CLabel
import
GHC.Platform.Regs
(
activeStgRegs
)
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
GHC.Cmm
hiding
(
succ
)
import
GHC.Cmm.Utils
(
regsOverlap
)
...
...
compiler/GHC/CmmToLlvm/CodeGen.hs
View file @
240f5bf6
...
...
@@ -25,7 +25,7 @@ import GHC.Cmm.Dataflow.Block
import
GHC.Cmm.Dataflow.Graph
import
GHC.Cmm.Dataflow.Collections
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
ForeignCall
import
Outputable
hiding
(
panic
,
pprPanic
)
...
...
compiler/GHC/CmmToLlvm/Data.hs
View file @
240f5bf6
...
...
@@ -17,7 +17,7 @@ import GHC.CmmToLlvm.Base
import
GHC.Cmm.BlockId
import
GHC.Cmm.CLabel
import
GHC.Cmm
import
DynFlags
import
GHC.Driver.Session
import
GHC.Platform
import
FastString
...
...
compiler/GHC/CmmToLlvm/Mangler.hs
View file @
240f5bf6
...
...
@@ -13,7 +13,7 @@ module GHC.CmmToLlvm.Mangler ( llvmFixupAsm ) where
import
GhcPrelude
import
DynFlags
(
DynFlags
,
targetPlatform
)
import
GHC.Driver.Session
(
DynFlags
,
targetPlatform
)
import
GHC.Platform
(
platformArch
,
Arch
(
..
)
)
import
ErrUtils
(
withTiming
)
import
Outputable
(
text
)
...
...
compiler/GHC/CmmToLlvm/Regs.hs
View file @
240f5bf6
...
...
@@ -16,7 +16,7 @@ import GhcPrelude
import
GHC.Llvm
import
GHC.Cmm.Expr
import
DynFlags
import
GHC.Driver.Session
import
FastString
import
Outputable
(
panic
)
import
Unique
...
...
compiler/GHC/CoreToByteCode.hs
View file @
240f5bf6
...
...
@@ -22,7 +22,7 @@ import GHC.Runtime.Interpreter
import
GHCi.FFI
import
GHCi.RemoteTypes
import
BasicTypes
import
DynFlags
import
GHC.Driver.Session
import
Outputable
import
GHC.Platform
import
Name
...
...
@@ -30,7 +30,7 @@ import MkId
import
Id
import
Var
(
updateVarType
)
import
ForeignCall
import
Hsc
Types
import
GHC.Driver.
Types
import
CoreUtils
import
CoreSyn
import
PprCore
...
...
compiler/GHC/CoreToStg.hs
View file @
240f5bf6
...
...
@@ -41,7 +41,7 @@ import Outputable
import
MonadUtils
import
FastString
import
Util
import
DynFlags
import
GHC.Driver.Session
import
ForeignCall
import
Demand
(
isUsedOnce
)
import
PrimOp
(
PrimCall
(
..
),
primOpWrapperId
)
...
...
compiler/GHC/CoreToStg/Prep.hs
View file @
240f5bf6
...
...
@@ -21,7 +21,7 @@ import GhcPrelude
import
OccurAnal
import
Hsc
Types
import
GHC.Driver.
Types
import
PrelNames
import
MkId
(
realWorldPrimId
)
import
CoreUtils
...
...
@@ -50,7 +50,7 @@ import UniqSupply
import
Maybes
import
OrdList
import
ErrUtils
import
DynFlags
import
GHC.Driver.Session
import
Util
import
Outputable
import
FastString
...
...
compiler/GHC/Data/Bitmap.hs
View file @
240f5bf6
...
...
@@ -18,7 +18,7 @@ module GHC.Data.Bitmap (
import
GhcPrelude
import
GHC.Runtime.Heap.Layout
import
DynFlags
import
GHC.Driver.Session
import
Util
import
Data.Bits
...
...
compiler/
backpack/DriverBkp
.hs
→
compiler/
GHC/Driver/Backpack
.hs
View file @
240f5bf6
...
...
@@ -14,42 +14,42 @@
-- it builds and doesn't serialize out the database contents.
-- But it's still handy for constructing tests.
module
DriverBkp
(
doBackpack
)
where
module
GHC.Driver.Backpack
(
doBackpack
)
where
#
include
"HsVersions.h"
import
GhcPrelude
-- In a separate module because it hooks into the parser.
import
BkpSyn
import
GHC.Driver.Backpack.Syntax
import
ApiAnnotation
import
GHC
hiding
(
Failed
,
Succeeded
)
import
Packages
import
GHC.Driver.
Packages
import
Parser
import
Lexer
import
G
hc
Monad
import
DynFlags
import
G
HC.Driver.
Monad
import
GHC.Driver.Session
import
TcRnMonad
import
TcRnDriver
import
Module
import
Hsc
Types
import
GHC.Driver.
Types
import
StringBuffer
import
FastString
import
ErrUtils
import
SrcLoc
import
Hsc
Main
import
GHC.Driver.
Main
import
UniqFM
import
UniqDFM
import
Outputable
import
Maybes
import
HeaderInfo
import
GHC.Iface.Utils
import
G
hc
Make
import
G
HC.Driver.
Make
import
UniqDSet
import
PrelNames
import
BasicTypes
hiding
(
SuccessFlag
(
..
))
import
Finder
import
GHC.Driver.
Finder
import
Util
import
qualified
GHC.LanguageExtensions
as
LangExt
...
...
@@ -75,7 +75,7 @@ doBackpack [src_filename] = do
src_opts
<-
liftIO
$
getOptionsFromFile
dflags1
src_filename
(
dflags
,
unhandled_flags
,
warns
)
<-
liftIO
$
parseDynamicFilePragma
dflags1
src_opts
modifySession
(
\
hsc_env
->
hsc_env
{
hsc_dflags
=
dflags
})
-- Cribbed from: preprocessFile /
Driver
Pipeline
-- Cribbed from: preprocessFile /
GHC.Driver.
Pipeline
liftIO
$
checkProcessArgsResult
dflags
unhandled_flags
liftIO
$
handleFlagWarnings
dflags
warns
-- TODO: Preprocessing not implemented
...
...
@@ -264,7 +264,7 @@ buildUnit session cid insts lunit = do
-- Build dependencies OR make sure they make sense. BUT NOTE,
-- we can only check the ones that are fully filled; the rest
-- we have to defer until we've typechecked our local signature.
-- TODO: work this into G
hc
Make!!
-- TODO: work this into G
HC.Driver.
Make!!
forM_
(
zip
[
1
..
]
deps0
)
$
\
(
i
,
dep
)
->
case
session
of
TcSession
->
return
()
...
...
@@ -629,14 +629,14 @@ convertHsModuleId (HsModuleId (L _ hsuid) (L _ modname)) = mkModule (convertHsUn
************************************************************************
-}