summaryrefslogtreecommitdiff
path: root/lib/Linker
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-12-30 01:07:20 +0000
committerChris Lattner <sabre@nondot.org>2010-12-30 01:07:20 +0000
commitc7bad7760609845377d7612a41df5529e01a39b3 (patch)
tree5ce11219b85a49e06e3c62bbde14dbdf758c769c /lib/Linker
parentd16ad3e43c4dc59b3f6f8f36338a778f7c7a8701 (diff)
downloadllvm-c7bad7760609845377d7612a41df5529e01a39b3.tar.gz
llvm-c7bad7760609845377d7612a41df5529e01a39b3.tar.bz2
llvm-c7bad7760609845377d7612a41df5529e01a39b3.tar.xz
print the right string, thanks for Frits for noticing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122636 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r--lib/Linker/LinkModules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp
index 39d5747be2..025aec9957 100644
--- a/lib/Linker/LinkModules.cpp
+++ b/lib/Linker/LinkModules.cpp
@@ -1220,7 +1220,7 @@ Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
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.