diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2014-12-18 10:55:11 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2014-12-18 17:02:47 +0100 |
commit | 7bef54de2fcdb5585031c2d6a81952659f4e5d7c (patch) | |
tree | 5e97b7952ff014cb529f5cf3c3228d4e896ff779 /src/dotty/tools/dotc/config/CompilerCommand.scala | |
parent | a68980c1d322095cdd8d7a2b45b05d901072eeb1 (diff) | |
download | dotty-7bef54de2fcdb5585031c2d6a81952659f4e5d7c.tar.gz dotty-7bef54de2fcdb5585031c2d6a81952659f4e5d7c.tar.bz2 dotty-7bef54de2fcdb5585031c2d6a81952659f4e5d7c.zip |
-Ylog:X now only log phase X, use -Ylog:X+ to also log phase X+1
Diffstat (limited to 'src/dotty/tools/dotc/config/CompilerCommand.scala')
-rw-r--r-- | src/dotty/tools/dotc/config/CompilerCommand.scala | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/config/CompilerCommand.scala b/src/dotty/tools/dotc/config/CompilerCommand.scala index ec8b17b0d..aa8e7abbf 100644 --- a/src/dotty/tools/dotc/config/CompilerCommand.scala +++ b/src/dotty/tools/dotc/config/CompilerCommand.scala @@ -19,11 +19,13 @@ object CompilerCommand extends DotClass { |Where multiple values are accepted, they should be comma-separated. | example: -Xplugin:plugin1,plugin2 |<phases> means one or a comma-separated list of: - | (partial) phase names, phase ids, phase id ranges, or the string "all". + | - (partial) phase names with an optional "+" suffix to include the next phase + | - the string "all" | example: -Xprint:all prints all phases. - | example: -Xprint:expl,24-26 prints phases explicitouter, closelim, dce, jvm. - | example: -Xprint:-4 prints only the phases up to typer. - | + | example: -Xprint:front,mixin prints the frontend and mixin phases. + | example: -Ylog:erasure+ logs the erasure phase and the phase after the erasure phase. + | This is useful because during the tree transform of phase X, we often + | already are in phase X+1. """.stripMargin.trim + "\n" def shortUsage = s"Usage: $cmdName <options> <source files>" |