DescriptionFix pnacl-sz to not accept files containing multiple modules.
Previous code checked, after the fact, that there weren't multiple
modules in the block. However, the code for TopLevelParser assumes
that there is only on module block, allowing it to more efficiently
test internal state. To fix the problem, modified
TopLevelParser::ParseBlock to fail, and not attempt to parse the second
block if the file contains more than one block.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4260
R=stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=0b8763eae21d5d8952d401cf8e4dd7e4fe9b401d
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix nit. #
Messages
Total messages: 5 (1 generated)
|