[llvm-commits] [llvm] r122636 - /llvm/trunk/lib/Linker/LinkModules.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 29 17:07:20 PST 2010
Author: lattner
Date: Wed Dec 29 19:07:20 2010
New Revision: 122636
URL: http://llvm.org/viewvc/llvm-project?rev=122636&view=rev
Log:
print the right string, thanks for Frits for noticing.
Modified:
llvm/trunk/lib/Linker/LinkModules.cpp
Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=122636&r1=122635&r2=122636&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Wed Dec 29 19:07:20 2010
@@ -1220,7 +1220,7 @@
if (!Src->getTargetTriple().empty() &&
Dest->getTargetTriple() != Src->getTargetTriple())
errs() << "WARNING: Linking two modules of different target triples: '"
- << Src->getTargetTriple() << "' and '" << Dest->getDataLayout()
+ << Src->getTargetTriple() << "' and '" << Dest->getTargetTriple()
<< "'\n";
// Append the module inline asm string.
More information about the llvm-commits
mailing list