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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Jan 16 05:32:24 PST 2015

Ah, and about the formatting. You can just run "git-clang-format
master" in your branch to have it format the patch for you.

On 16 January 2015 at 08:31, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
>> I chose to put the diagnostic here because that was more consistent with prior use of the API and in particular there are other clients in  llvm/tools/clang (with a separate revision) that have different diagnostic needs.
> The code was just changed to even have support for diagnostics. Please
> move it to where it is found. With that you can give an error like
> "Value XX is not a valid encoding"
> Cheers,
> Rafael

More information about the llvm-commits mailing list