MIR Parser: report an error when a basic block isn't found.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 19 Jun 2015 20:12:03 +0000 (20:12 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 19 Jun 2015 20:12:03 +0000 (20:12 +0000)
commitdc6d65201dc995bdb00b76a548d9463642be7a5c
treef364276e54b2bbe06649f97da4f90db8bb67d2f0
parentd8c98f16bb69fb5cc5ed0c572ca732cbc1441a12
MIR Parser: report an error when a basic block isn't found.

This commit reports an error when the MIR parser can't find
a basic block with the machine basic block's name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240174 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MIRParser.cpp
test/CodeGen/MIR/machine-basic-block-unknown-name.mir [new file with mode: 0644]