Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
09ea5a5e
Commit
09ea5a5e
authored
Apr 08, 2005
by
krasimir
Browse files
[project @ 2005-04-08 10:51:37 by krasimir]
Replace hPutStrLn stderr with debugTraceMsg
parent
eb561a9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/ghci/Linker.lhs
View file @
09ea5a5e
...
...
@@ -43,6 +43,7 @@ import Outputable
import Panic ( GhcException(..) )
import Util ( zipLazy, global )
import StaticFlags ( v_Ld_inputs )
import ErrUtils ( debugTraceMsg )
-- Standard libraries
import Control.Monad ( when, filterM, foldM )
...
...
@@ -620,11 +621,9 @@ unload dflags linkables
new_pls <- unload_wkr dflags linkables pls
writeIORef v_PersistentLinkerState new_pls
let verb = verbosity dflags
when (verb >= 3) $ do
hPutStrLn stderr (showSDoc
debugTraceMsg dflags 3 (showSDoc
(text "unload: retaining objs" <+> ppr (objs_loaded new_pls)))
hPutStrLn stderr
(showSDoc
debugTraceMsg dflags 3
(showSDoc
(text "unload: retaining bcos" <+> ppr (bcos_loaded new_pls)))
return ()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment