ccc/Driver: Normalize phase spelling in -ccc-print-phases.

llvm-svn: 66912
This commit is contained in:
Daniel Dunbar 2009-03-13 17:52:07 +00:00
parent e2ca3bddde
commit 7326ad57a4
3 changed files with 8 additions and 8 deletions

View File

@ -18,12 +18,12 @@ const char *Action::getClassName(ActionClass AC) {
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";
}

View File

@ -15,7 +15,7 @@ using namespace clang::driver;
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";

View File

@ -70,7 +70,7 @@ class PrecompilePhase(Phase):
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):