forked from OSchip/llvm-project
ccc/Driver: Normalize phase spelling in -ccc-print-phases.
llvm-svn: 66912
This commit is contained in:
parent
e2ca3bddde
commit
7326ad57a4
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue