[llvm-commits] CVS: llvm/tools/lto/lto.cpp
Devang Patel
dpatel at apple.com
Tue Sep 5 17:28:38 PDT 2006
Changes in directory llvm/tools/lto:
lto.cpp updated: 1.8 -> 1.9
---
Log message:
Extract target triplet from optimized module.
Untabify.
---
Diffs of the changes: (+4 -1)
lto.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/tools/lto/lto.cpp
diff -u llvm/tools/lto/lto.cpp:1.8 llvm/tools/lto/lto.cpp:1.9
--- llvm/tools/lto/lto.cpp:1.8 Wed Aug 23 11:59:25 2006
+++ llvm/tools/lto/lto.cpp Tue Sep 5 19:28:22 2006
@@ -266,7 +266,8 @@
/// Return appropriate LTOStatus.
enum LTOStatus
LinkTimeOptimizer::optimizeModules(const std::string &OutputFilename,
- std::vector<const char *> &exportList)
+ std::vector<const char *> &exportList,
+ std::string &targetTriple)
{
if (modules.empty())
return LTO_NO_WORK;
@@ -316,6 +317,8 @@
return status;
}
+ targetTriple = bigOne->getTargetTriple();
+
// Run GCC to assemble and link the program into native code.
//
// Note:
More information about the llvm-commits
mailing list