OSDN Git Service

MIR Parser: Report an error when a machine function doesn't have a corresponding...
authorAlex Lorenz <arphaman@gmail.com>
Tue, 16 Jun 2015 17:06:29 +0000 (17:06 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 16 Jun 2015 17:06:29 +0000 (17:06 +0000)
commitd8a0ff34d90f7ab98b76aff0ab875487e1ca5b69
tree8ea8ad41de273e59230b91ad8c8a4fa877649196
parent0021a54ae5f3f96db589870c0932f5488abb457c
MIR Parser: Report an error when a machine function doesn't have a corresponding function.

This commit reports an error when a machine function from a MIR file that contains
LLVM IR can't find a function with the same name in the loaded LLVM IR module.

Reviewers: Duncan P. N. Exon Smith

Differential Revision: http://reviews.llvm.org/D10468

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