diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-06-15 23:07:38 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-06-15 23:07:38 +0000 |
commit | 8e7a58d7ccfc254a30b582e536e9c3dc583dd8e2 (patch) | |
tree | e425cfaf95becbda108734808a64068751920263 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bc2c2b01159cb5830ea33bf69a7a706fe5de3197 (diff) | |
download | llvm-8e7a58d7ccfc254a30b582e536e9c3dc583dd8e2.zip llvm-8e7a58d7ccfc254a30b582e536e9c3dc583dd8e2.tar.gz llvm-8e7a58d7ccfc254a30b582e536e9c3dc583dd8e2.tar.bz2 |
MIR Serialization: Create dummy functions when the MIR file doesn't have LLVM IR.
This commit creates a dummy LLVM IR function with one basic block and an unreachable
instruction for each parsed machine function when the MIR file doesn't have LLVM IR.
This change is required as the machine function analysis pass creates machine
functions only for the functions that are defined in the current LLVM module.
Reviewers: Duncan P. N. Exon Smith
Differential Revision: http://reviews.llvm.org/D10135
llvm-svn: 239778
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions