[GHC] #12691: Refine the behaviour of -dno-debug-output and -dtrace-level
GHC
ghc-devs at haskell.org
Sun Nov 6 12:48:15 UTC 2016
#12691: Refine the behaviour of -dno-debug-output and -dtrace-level
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner:
Type: task | Status: closed
Priority: low | Milestone: 8.2.1
Component: Compiler | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Matthew Pickering <matthewtpickering@…>):
In [changeset:"1c886eadcfbb593bb06bfff7b8a4914b5349f080/ghc" 1c886ea/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="1c886eadcfbb593bb06bfff7b8a4914b5349f080"
Stop -dno-debug-output suppressing -ddump-tc-trace
Summary:
The user manual states that -dno-debug-output should suppress
*unsolicited* debugging output which essentially amounts to calls
to `pprTrace`. Before I unified the interface of `traceTc` and
`traceRn`, the flag suppressed calls to `traceTc` but not to `traceRn`
or any other tracing function already controlled by a flag.
Thus, in order to make the behaviour more uniform, it seemed best to
remove this one special case.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2628
GHC Trac Issues: #12691
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12691#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list