[PATCH] Bitcode: Error out instead of crashing on corrupt metadata

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 11:54:01 PDT 2016

On Thu, Mar 17, 2016 at 11:31 AM, Justin Bogner via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> So this works, but I end up with fairly large binary files and basically
> need one per call-site I've fixed here for proper coverage. This kind of
> testing doesn't feel all that maintainable.

Agreed, IMO we should try catch these kinds of bugs with fuzzers. Patch
seems reasonable for now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160317/1b93cb18/attachment.html>

More information about the llvm-commits mailing list