aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization
diff options
context:
space:
mode:
authorCole Kissane <cole.kissane@gmail.com>2022-07-13 15:08:40 -0700
committerCole Kissane <cole.kissane@gmail.com>2022-07-13 15:08:41 -0700
commit6b618a620f0b964f78c176a9dc94bcc35bf0db68 (patch)
tree82cae74deacc18e7d854030457958e21213c3c72 /clang/lib/ExtractAPI/Serialization
parentd843d5c8e6c9e16a8ff18cae3ff0aea3c4bace49 (diff)
downloadllvm-6b618a620f0b964f78c176a9dc94bcc35bf0db68.zip
llvm-6b618a620f0b964f78c176a9dc94bcc35bf0db68.tar.gz
llvm-6b618a620f0b964f78c176a9dc94bcc35bf0db68.tar.bz2
[llvm] fix zlib buffer truncate edge cases and fix nits in tests
- add check before truncating (un)compressed data buffer if the buffer is already a perfect length, to avoid triggering truncate assertion in edge case. - explictly coerce LLVM_ENABLE_ZLIB to a 0 or 1 value in OFF case, to match current ON, FORCE_ON behavior. - fix code style nits in zlib tests Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D129698
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization')
0 files changed, 0 insertions, 0 deletions