[llvm-commits] [llvm] r122632 - /llvm/trunk/lib/Linker/LinkModules.cpp
Frits van Bommel
fvbommel at gmail.com
Wed Dec 29 15:22:14 PST 2010
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