summaryrefslogtreecommitdiff
path: root/compiler/GHC/Utils/GlobalVars.hs
Commit message (Collapse)AuthorAgeFilesLines
* Export pprTrace and friends from GHC.Prelude.Andreas Klebinger2022-11-031-1/+1
| | | | | Introduces GHC.Prelude.Basic which can be used in modules which are a dependency of the ppr code.
* Avoid GHC_STAGE and other include bitsJohn Ericson2021-11-051-4/+1
| | | | | | | | | We should strive to make our includes in terms of the RTS as much as possible. One place there that is not possible, the llvm version, we make a new tiny header Stage numbers are somewhat arbitrary, if we simple need a newer RTS, we should say so.
* Move GlobalVar macros into GHC.Utils.GlobalVarsSylvain Henry2021-05-121-5/+30
| | | | | That's the only place where they are used and they shouldn't be used elsewhere.
* Add the proper HLint rules and remove redundant keywords from compilerHécate2020-11-011-1/+1
|
* Remove unsafeGlobalDynFlags (#17957, #14597)Sylvain Henry2020-09-301-0/+112
There are still global variables but only 3 booleans instead of a single DynFlags.