[llvm-commits] CVS: llvm/include/llvm/LinkTimeOptimizer.h

Devang Patel dpatel at apple.com
Tue Sep 5 17:28:38 PDT 2006



Changes in directory llvm/include/llvm:

LinkTimeOptimizer.h updated: 1.4 -> 1.5
---
Log message:

Extract target triplet from optimized module.
Untabify.


---
Diffs of the changes:  (+7 -6)

 LinkTimeOptimizer.h |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)


Index: llvm/include/llvm/LinkTimeOptimizer.h
diff -u llvm/include/llvm/LinkTimeOptimizer.h:1.4 llvm/include/llvm/LinkTimeOptimizer.h:1.5
--- llvm/include/llvm/LinkTimeOptimizer.h:1.4	Mon Aug 14 18:27:36 2006
+++ llvm/include/llvm/LinkTimeOptimizer.h	Tue Sep  5 19:28:22 2006
@@ -56,8 +56,8 @@
     void mayBeNotUsed();
 
     LLVMSymbol (enum LTOLinkageTypes lt, GlobalValue *g, const std::string &n, 
-		const std::string &m) : linkage(lt), gv(g), name(n), 
-					mangledName(m) {}
+                const std::string &m) : linkage(lt), gv(g), name(n), 
+                                        mangledName(m) {}
 
     const char *getName() { return name.c_str(); }
     const char *getMangledName() { return mangledName.c_str(); }
@@ -82,13 +82,14 @@
 
   public:
     typedef hash_map<const char*, LLVMSymbol*, hash<const char*>, 
-		     string_compare> NameToSymbolMap;
+                     string_compare> NameToSymbolMap;
 
     enum LTOStatus readLLVMObjectFile(const std::string &InputFilename,
-				      NameToSymbolMap &symbols,
-				      std::set<std::string> &references);
+                                      NameToSymbolMap &symbols,
+                                      std::set<std::string> &references);
     enum LTOStatus optimizeModules(const std::string &OutputFilename,
-				   std::vector<const char*> &exportList);
+                                   std::vector<const char*> &exportList,
+                                   std::string &targetTriple);
 
   private:
     std::vector<Module *> modules;






More information about the llvm-commits mailing list