commit | 28fc2d7dce3693b40d2a99d84d4147274d66784c | [log] [tgz] |
---|---|---|
author | Karl Schimpf <kschimpf@google.com> | Tue Sep 22 13:14:55 2015 -0700 |
committer | Karl Schimpf <kschimpf@google.com> | Tue Sep 22 13:14:55 2015 -0700 |
tree | 60cf7c63b1bcfe91a2fa57f3947ef57372edab1c | |
parent | 0b8763eae21d5d8952d401cf8e4dd7e4fe9b401d [diff] |
Require that the module symbol table can't appear after function. The bitcode parser assumes that the module symbol table, if it exists, must appear before the first function block (i.e. defininition). However, the parser did not check this constraint. This patch fixes that omission. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4320 R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1359923002 .