[PATCH] Avoid crash reading bitcode files with bad abbrev record (bug 20485)

David Callahan dcallahan at fb.com
Thu Jan 15 16:41:37 PST 2015


Eliminated some inadvertent files modified on the branch. 
Cleaned up the test case as suggested. 
Addressed code format.


http://reviews.llvm.org/D7003

Files:
  include/llvm/Bitcode/BitCodes.h
  include/llvm/Bitcode/BitstreamReader.h
  lib/Bitcode/Reader/BitstreamReader.cpp
  test/Bitcode/bad-abbrev-record.txt
  test/Bitcode/bad-abbrev-record.txt.bc
  tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7003.18279.patch
Type: text/x-patch
Size: 3885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/c13546cb/attachment.bin>


More information about the llvm-commits mailing list