[PATCH] D41979: [bcanalyzer] Recognize more stream types

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 21 16:35:59 PDT 2018


modocache updated this revision to Diff 143462.
modocache added a comment.

Thanks, @JDevlieghere! I added two tests like the ones you described. Thankfully it doesn't crash because llvm-bcanalyzer verifies the bitcode invariant that input sizes be a multiple of 4.


Repository:
  rL LLVM

https://reviews.llvm.org/D41979

Files:
  test/Bitcode/stream-types.c
  test/Bitcode/stream-types.c.ast
  test/Bitcode/stream-types.c.ast.incomplete
  test/Bitcode/stream-types.c.dia
  test/Bitcode/stream-types.c.dia.incomplete
  tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41979.143462.patch
Type: text/x-patch
Size: 4779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180421/95476f80/attachment.bin>


More information about the llvm-commits mailing list