Fixes case where terminator instruction is missing at end of function.
If the bitcode parser detects that the last block in the function
is missing a terminator, generate an error message and insert
a terminator instruction.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4214
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/1210013005.
Showing
tests_lit/llvm2ice_tests/invalid.test
0 → 100644
Please
register
or
sign in
to comment