Cleanup GHC verbosity flags
- In the discussion of D2679#77898, Simon Marlow suggested that we make verbosity levels (
-v0
,-v1
...) work just like optimization levels (-O0
,-O1
...), i.e., that we make each verbosity level a collection of verbosity flags.
Currently the verbosity level is tested against explicitly in several places in GHC's code.
- Homogenize verbosity flags: currently, flags that change GHC's reporting have various prefixes:
-fprint-*
-fshow-*
-dshow-passes
-ddump-*
-dppr-*
-dverbose-*
Maybe we should homogenize (some of) them by using a common -v
prefix as in -vshow-source-paths
.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |