IR: Slightly more verbose error in Verifier
authorJustin Bogner <mail@justinbogner.com>
Mon, 10 Mar 2014 21:22:44 +0000 (21:22 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 10 Mar 2014 21:22:44 +0000 (21:22 +0000)
commite62ce0107ff29147187c0721c30292d27ea6cb63
tree324ff967aac6bb2b766db7f47d17ba6cde3e1766
parent8da0b7358d30b8a91648bd30046137376bf85464
IR: Slightly more verbose error in Verifier

Extend the error message generated by the Verifier when an intrinsic
name does not match the expected mangling to include the expected
name.  Simplifies debugging.

Patch by Philip Reames!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203490 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp