const char *) = 0;
virtual void getTargetTriple(const std::string &, std::string &) = 0;
virtual void removeModule (const std::string &InputFilename) = 0;
+ virtual void printVersion () = 0;
virtual ~LinkTimeOptimizer() = 0;
};
void getTargetTriple(const std::string &InputFilename,
std::string &targetTriple);
void removeModule (const std::string &InputFilename);
+ void printVersion();
// Constructors and destructors
LTO() {
return LTO_OPT_SUCCESS;
}
+void LTO::printVersion() {
+ cl::PrintVersionMessage();
+}
+
/// Unused pure-virtual destructor. Must remain empty.
LinkTimeOptimizer::~LinkTimeOptimizer() {}