[PATCH] Bitcode: Error out instead of crashing on corrupt metadata
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 13:18:25 PDT 2016
Reid Kleckner <rnk at google.com> writes:
> 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.
It's not ideal, but I've committed with no tests in r263742.
More information about the llvm-commits
mailing list