Fix handling unknown branches when parsing switch instructions.
The bitcode reader for the switch insruction did not check if the
branch labels were defined. This patch fixes the problem. Includes
test for such a case.
BUG=None
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/1303003002 .
Showing
tests_lit/parse_errs/bad-switch-case.test
0 → 100644
Please
register
or
sign in
to comment