From f3a06113c75348d884500b83a538e7dd82476051 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 26 Jan 2009 17:09:15 +0000 Subject: ccc: Recognize -emit-llvm [-S]. - Unlike llvm-gcc, this doesn't yet treat -emit-llvm output as a linker input. llvm-svn: 63014 --- clang/tools/ccc/ccclib/Phases.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/tools/ccc/ccclib/Phases.py') diff --git a/clang/tools/ccc/ccclib/Phases.py b/clang/tools/ccc/ccclib/Phases.py index 160e72c06eb..a126027ae6b 100644 --- a/clang/tools/ccc/ccclib/Phases.py +++ b/clang/tools/ccc/ccclib/Phases.py @@ -76,6 +76,10 @@ class SyntaxOnlyPhase(Phase): def __init__(self): super(SyntaxOnlyPhase, self).__init__("syntax-only", Phase.eOrderCompile) +class EmitLLVMPhase(Phase): + def __init__(self): + super(EmitLLVMPhase, self).__init__("emit-llvm", Phase.eOrderCompile) + class CompilePhase(Phase): def __init__(self): super(CompilePhase, self).__init__("compiler", Phase.eOrderCompile) -- cgit v1.2.3