Initialize/Register LTO passes to enable flags like -print-after=<lto-pass>
[oota-llvm.git] / tools / lto / LTOCodeGenerator.h
index a4ade9fd26caa070aec3d01a01f564846bbbbbad..bbe32397fbcfefbc1e45ebd2918e502a7ccc0bd8 100644 (file)
@@ -56,6 +56,8 @@ struct LTOCodeGenerator {
   void setCodeGenDebugOptions(const char *opts);
 
 private:
+  void initializeLTOPasses();
+
   bool generateObjectFile(llvm::raw_ostream &out, std::string &errMsg);
   void applyScopeRestrictions();
   void applyRestriction(llvm::GlobalValue &GV,