diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-06-26 14:45:52 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-06-26 14:45:52 -0700 |
commit | dc80ae361ec894a266815c078d92c78233acf542 (patch) | |
tree | 7c14196694572389c80c32ef3afb50c8eb57cfdd /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | e5a1ea0182c046ca81398e15488db2b2f7ba6105 (diff) |
PNaCl wire format: Disallow duplicate FORWARDTYPEREFs for the same value ID
Change the reader to be stricter so that duplicate FORWARDTYPEREFs are
rejected.
Also fix typo in error message.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3507
TEST=see "Invalid FORWARDTYPEREF record" if EmitFnForwardTypeRef()
is changed to produce unnecessary FORWARDTYPEREFs
Review URL: https://codereview.chromium.org/17925002
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions