[cfe-commits] r66912 - in /cfe/trunk: lib/Driver/Action.cpp lib/Driver/Phases.cpp tools/ccc/ccclib/Phases.py
Daniel Dunbar
daniel at zuster.org
Fri Mar 13 10:52:07 PDT 2009
Author: ddunbar
Date: Fri Mar 13 12:52:07 2009
New Revision: 66912
URL: http://llvm.org/viewvc/llvm-project?rev=66912&view=rev
Log:
ccc/Driver: Normalize phase spelling in -ccc-print-phases.
Modified:
cfe/trunk/lib/Driver/Action.cpp
cfe/trunk/lib/Driver/Phases.cpp
cfe/trunk/tools/ccc/ccclib/Phases.py
Modified: cfe/trunk/lib/Driver/Action.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Action.cpp?rev=66912&r1=66911&r2=66912&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Action.cpp (original)
+++ cfe/trunk/lib/Driver/Action.cpp Fri Mar 13 12:52:07 2009
@@ -18,12 +18,12 @@
switch (AC) {
case InputClass: return "input";
case BindArchClass: return "bind-arch";
- case PreprocessJobClass: return "preprocess";
- case PrecompileJobClass: return "precompile";
- case AnalyzeJobClass: return "analyze";
- case CompileJobClass: return "compile";
- case AssembleJobClass: return "assemble";
- case LinkJobClass: return "link";
+ case PreprocessJobClass: return "preprocessor";
+ case PrecompileJobClass: return "precompiler";
+ case AnalyzeJobClass: return "analyzer";
+ case CompileJobClass: return "compiler";
+ case AssembleJobClass: return "assembler";
+ case LinkJobClass: return "linker";
case LipoJobClass: return "lipo";
}
Modified: cfe/trunk/lib/Driver/Phases.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Phases.cpp?rev=66912&r1=66911&r2=66912&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Phases.cpp (original)
+++ cfe/trunk/lib/Driver/Phases.cpp Fri Mar 13 12:52:07 2009
@@ -15,7 +15,7 @@
const char *phases::getPhaseName(ID Id) {
switch (Id) {
- case Preprocess: return "preprocesser";
+ case Preprocess: return "preprocessor";
case Precompile: return "precompiler";
case Compile: return "compiler";
case Assemble: return "assembler";
Modified: cfe/trunk/tools/ccc/ccclib/Phases.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Phases.py?rev=66912&r1=66911&r2=66912&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Phases.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Phases.py Fri Mar 13 12:52:07 2009
@@ -70,7 +70,7 @@
class AnalyzePhase(Phase):
def __init__(self):
- super(AnalyzePhase, self).__init__("analyze", Phase.eOrderCompile)
+ super(AnalyzePhase, self).__init__("analyzer", Phase.eOrderCompile)
class SyntaxOnlyPhase(Phase):
def __init__(self):
More information about the cfe-commits
mailing list