diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-12-30 01:07:20 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-12-30 01:07:20 +0000 |
| commit | 1556522a345694e6cb08668473efc59ccc22ae11 (patch) | |
| tree | af556224930c5e8b22c0cc281ffe15302ea307b5 /llvm/lib | |
| parent | 2f6dc10cccdcf4d527c907029bfce756c494796c (diff) | |
| download | bcm5719-llvm-1556522a345694e6cb08668473efc59ccc22ae11.tar.gz bcm5719-llvm-1556522a345694e6cb08668473efc59ccc22ae11.zip | |
print the right string, thanks for Frits for noticing.
llvm-svn: 122636
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 39d5747be2b..025aec99572 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/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. |

