Extend TargetPassConfig to allow running only a subset of the normal passes.
[oota-llvm.git] / lib / Target / CppBackend / CPPBackend.cpp
index 0ea2a299dd80bd45fd340de97c78dc166bd91662..c8e757becc721d338786fb18d23af5daa9fc7524 100644 (file)
@@ -2101,7 +2101,9 @@ char CppWriter::ID = 0;
 bool CPPTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
                                            formatted_raw_ostream &o,
                                            CodeGenFileType FileType,
-                                           bool DisableVerify) {
+                                           bool DisableVerify,
+                                           AnalysisID StartAfter,
+                                           AnalysisID StopAfter) {
   if (FileType != TargetMachine::CGFT_AssemblyFile) return true;
   PM.add(new CppWriter(o));
   return false;