In erroneous inline assembly we could mistakenly try to access the
authorEric Christopher <echristo@apple.com>
Thu, 22 Mar 2012 01:33:51 +0000 (01:33 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 22 Mar 2012 01:33:51 +0000 (01:33 +0000)
commitaa206ffa6bf160f90d0d3aae5745ae4abf2d98fa
treea036a9681fd8757033ea2f71ca097dfa7ea4c2cd
parent544b9b426f0dfa1beef6dc3640607dee3ca1160e
In erroneous inline assembly we could mistakenly try to access the
metadata operand as an actual operand, leading to an assert. Error
out in this case.

rdar://11007633

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153234 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp