aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2020-06-10 06:40:00 +0200
committerSam McCall <sam.mccall@gmail.com>2020-06-10 11:40:23 +0200
commitf2c8f6e16d25ca356f58995109292735b222b1b7 (patch)
tree34ba2769c2e4269149f7419d7d222369c5490940 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent67671024c8cbc3d56c173073113b158b2934487b (diff)
downloadllvm-f2c8f6e16d25ca356f58995109292735b222b1b7.zip
llvm-f2c8f6e16d25ca356f58995109292735b222b1b7.tar.gz
llvm-f2c8f6e16d25ca356f58995109292735b222b1b7.tar.bz2
[clangd] Log rather than assert on bad UTF-8.
Summary: I don't love this behavior, but it prevents crashing when indexing boost headers, and I can't think of a better practical alternative. Fixes https://reviews.llvm.org/D81530 Based on a patch by AnakinZheng! Reviewers: kadircet Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits, AnakinZheng Tags: #clang Differential Revision: https://reviews.llvm.org/D81530
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions