Introduce putLogMsg
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 15 Mar 2017 13:29:24 +0000 (09:29 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 15 Mar 2017 19:23:34 +0000 (15:23 -0400)
commit086b514b199c122b638391f3aa2fbcf15cc10c06
tree1227dbc5061c170fa76ddd938a7ba3ab3ddef1c1
parentcc9d574a578090d17d1597628e44371003cb19a7
Introduce putLogMsg

This factors out the repetition of (log_action dflags dflags) and will
hopefully allow us to someday better abstract log output.

Test Plan: Validate

Reviewers: austin, hvr, goldfire

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3334
15 files changed:
compiler/coreSyn/CoreLint.hs
compiler/deSugar/Coverage.hs
compiler/ghci/Linker.hs
compiler/iface/BinIface.hs
compiler/iface/LoadIface.hs
compiler/main/DriverPipeline.hs
compiler/main/DynFlags.hs
compiler/main/ErrUtils.hs
compiler/main/GhcMake.hs
compiler/main/SysTools.hs
compiler/main/TidyPgm.hs
compiler/simplCore/CoreMonad.hs
compiler/simplCore/SimplCore.hs
compiler/simplStg/SimplStg.hs
compiler/typecheck/TcRnMonad.hs