summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Pipeline.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Pipeline.hs')
-rw-r--r--compiler/GHC/Driver/Pipeline.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Pipeline.hs b/compiler/GHC/Driver/Pipeline.hs
index f709ad801c..f22a4a8655 100644
--- a/compiler/GHC/Driver/Pipeline.hs
+++ b/compiler/GHC/Driver/Pipeline.hs
@@ -531,6 +531,7 @@ oneShot orig_hsc_env stop_phase srcs = do
-- In oneshot mode, initialise plugins specified on command line
-- we also initialise in ghc/Main but this might be used as an entry point by API clients who
-- should initialise their own plugins but may not.
+ -- See Note [Timing of plugin initialization]
hsc_env <- initializePlugins orig_hsc_env
o_files <- mapMaybeM (compileFile hsc_env stop_phase) srcs
case stop_phase of