Change linker message verbosity to `-v2` (re #7863)
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 20 Sep 2014 19:23:28 +0000 (21:23 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 20 Sep 2014 19:23:39 +0000 (21:23 +0200)
commit9f7e3633c692dce75c27607131bd386178fb0fcf
tree51e7cc68494a7c55014aa2d34e7a6a276907f40c
parent4805abf413c02a2ed1af4fbeca2476590e984e37
Change linker message verbosity to `-v2` (re #7863)

With this change, the linker status logging output such as

    Loading package ghc-prim ... linking ... done.
    Loading package integer-gmp ... linking ... done.
    Loading package base ... linking ... done.

is suppressed unless verbosity level is `-v2` or higher. This is done
to reduce the compiler message noise when TH is involved, which can
reduce the visibiliy of compile warnings.

Reviewed By: ekmett, austin

Differential Revision: https://phabricator.haskell.org/D232
compiler/ghci/Linker.lhs
testsuite/tests/indexed-types/should_fail/T9160.stderr
testsuite/tests/simplCore/should_compile/T5550.stderr