aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-13 17:52:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-13 17:52:07 +0000
commit209333506a935c582a7d62ad470978baec71afdc (patch)
tree5e67c0bbaca9bea0c90299f4a53b16a5e8d7e3d3
parent3dbd6c51bcd8a730c3fe58e29d7e0d999a94fa91 (diff)
ccc/Driver: Normalize phase spelling in -ccc-print-phases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66912 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/Action.cpp12
-rw-r--r--lib/Driver/Phases.cpp2
-rw-r--r--tools/ccc/ccclib/Phases.py2
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/Driver/Action.cpp b/lib/Driver/Action.cpp
index 86d676f698..0ffc8f0f64 100644
--- a/lib/Driver/Action.cpp
+++ b/lib/Driver/Action.cpp
@@ -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";
}
diff --git a/lib/Driver/Phases.cpp b/lib/Driver/Phases.cpp
index 71f88eec56..df4cdee775 100644
--- a/lib/Driver/Phases.cpp
+++ b/lib/Driver/Phases.cpp
@@ -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";
diff --git a/tools/ccc/ccclib/Phases.py b/tools/ccc/ccclib/Phases.py
index a126027ae6..0998fd611b 100644
--- a/tools/ccc/ccclib/Phases.py
+++ b/tools/ccc/ccclib/Phases.py
@@ -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):