commit | 0042fea38a41488f6da0e49fbe810fcb3bb88622 | [log] [tgz] |
---|---|---|
author | Karl Schimpf <kschimpf@google.com> | Fri Aug 21 09:41:01 2015 -0700 |
committer | Karl Schimpf <kschimpf@google.com> | Fri Aug 21 09:41:01 2015 -0700 |
tree | 5861c2cfea599995afd622c52f64f19b67f335dc | |
parent | 360e31978e06a809bf89e4eb834e3c1dc2fbd860 [diff] |
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 .