projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16ad3e
)
print the right string, thanks for Frits for noticing.
author
Chris Lattner
<sabre@nondot.org>
Thu, 30 Dec 2010 01:07:20 +0000
(
01:07
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 30 Dec 2010 01:07:20 +0000
(
01:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122636
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/LinkModules.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index 39d5747be2bc728daac771ed1134a4acc01b01a7..025aec995723158b53791a8b9d2960e182cefbdf 100644
(file)
--- 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->get
DataLayout
()
+ << Src->getTargetTriple() << "' and '" << Dest->get
TargetTriple
()
<< "'\n";
// Append the module inline asm string.