[llvm-commits] [llvm] r122632 - /llvm/trunk/lib/Linker/LinkModules.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 29 17:09:30 PST 2010
Sigh yes, will fix.
On Dec 29, 2010, at 3:22 PM, Frits van Bommel wrote:
> On Wed, Dec 29, 2010 at 11:41 PM, Chris Lattner <sabre at nondot.org> wrote:
>> improve warning message to at least say what the triples are.
>
>> if (!Src->getTargetTriple().empty() &&
>> Dest->getTargetTriple() != Src->getTargetTriple())
>> - errs() << "WARNING: Linking two modules of different target triples!\n";
>> + errs() << "WARNING: Linking two modules of different target triples: '"
>> + << Src->getTargetTriple() << "' and '" << Dest->getDataLayout()
>> + << "'\n";
>
> s/getDataLayout/getTargetTriple/ ?
More information about the llvm-commits
mailing list