Improve LinkModules warnings
authorJF Bastien <jfb@google.com>
Wed, 5 Mar 2014 21:26:42 +0000 (21:26 +0000)
committerJF Bastien <jfb@google.com>
Wed, 5 Mar 2014 21:26:42 +0000 (21:26 +0000)
commit9bf239e76fd2c9be759551f19fa59012457eb3e3
tree38da6d7d56e9ea79faf81bce084e87240576678f
parent9d84b4d70cbd86c462d70a23836ec42323bba591
Improve LinkModules warnings

Provide triple and data layout as well as module names (or empty string) when there's a mismatch.

Differential Revision: http://llvm-reviews.chandlerc.com/D2971

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203009 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp