summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Phases.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Phases.hs')
-rw-r--r--compiler/GHC/Driver/Phases.hs15
1 files changed, 8 insertions, 7 deletions
diff --git a/compiler/GHC/Driver/Phases.hs b/compiler/GHC/Driver/Phases.hs
index 2b4e234d12..31a1e45361 100644
--- a/compiler/GHC/Driver/Phases.hs
+++ b/compiler/GHC/Driver/Phases.hs
@@ -66,19 +66,20 @@ import System.FilePath
C compiler (opt.) | .hc or .c | -S | .s
assembler | .s or .S | -c | .o
linker | other | - | a.out
+ linker (merge objects) | other | - | .o
-}
-- Phases we can actually stop after
-data StopPhase = StopPreprocess -- -E
- | StopC -- -C
- | StopAs -- -S
- | NoStop -- -c
+data StopPhase = StopPreprocess -- ^ @-E@
+ | StopC -- ^ @-C@
+ | StopAs -- ^ @-S@
+ | NoStop -- ^ @-c@
stopPhaseToPhase :: StopPhase -> Phase
stopPhaseToPhase StopPreprocess = anyHsc
-stopPhaseToPhase StopC = HCc
-stopPhaseToPhase StopAs = As False
-stopPhaseToPhase NoStop = StopLn
+stopPhaseToPhase StopC = HCc
+stopPhaseToPhase StopAs = As False
+stopPhaseToPhase NoStop = StopLn
-- | Untyped Phase description
data Phase