From c7bad7760609845377d7612a41df5529e01a39b3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Dec 2010 01:07:20 +0000 Subject: [PATCH] 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 --- lib/Linker/LinkModules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 39d5747be2b..025aec99572 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. -- 2.34.1