mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-20 20:38:48 +00:00
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
This commit is contained in:
parent
d16ad3e43c
commit
c7bad77606
@ -1220,7 +1220,7 @@ Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
|
|||||||
if (!Src->getTargetTriple().empty() &&
|
if (!Src->getTargetTriple().empty() &&
|
||||||
Dest->getTargetTriple() != Src->getTargetTriple())
|
Dest->getTargetTriple() != Src->getTargetTriple())
|
||||||
errs() << "WARNING: Linking two modules of different target triples: '"
|
errs() << "WARNING: Linking two modules of different target triples: '"
|
||||||
<< Src->getTargetTriple() << "' and '" << Dest->getDataLayout()
|
<< Src->getTargetTriple() << "' and '" << Dest->getTargetTriple()
|
||||||
<< "'\n";
|
<< "'\n";
|
||||||
|
|
||||||
// Append the module inline asm string.
|
// Append the module inline asm string.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user