Add getTargetTriple() that linker can use to query target architecture.
[oota-llvm.git] / include / llvm / LinkTimeOptimizer.h
index 76a7af66da0c583ff5ab487923b82ab969ed0932..006f1171c80f842b625e060dd9505973b84add63 100644 (file)
@@ -92,6 +92,7 @@ namespace llvm {
     enum LTOStatus optimizeModules(const std::string &OutputFilename,
                                    std::vector<const char*> &exportList,
                                    std::string &targetTriple);
+    void getTargetTriple(const std::string &InputFilename, std::string &targetTriple);
 
   private:
     Module *getModule (const std::string &InputFilename);