aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-10-05 16:16:13 -0400
committerLouis Dionne <ldionne@apple.com>2020-10-07 09:16:59 -0400
commit602c193e2aeb19f5d2e48075281601a2386e8758 (patch)
tree45ed117e11e9e308f3dc773d909ce025de157f09 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7b5dfb400a67f03122b43cd5d59b8b1ef6d00147 (diff)
downloadllvm-602c193e2aeb19f5d2e48075281601a2386e8758.zip
llvm-602c193e2aeb19f5d2e48075281601a2386e8758.tar.gz
llvm-602c193e2aeb19f5d2e48075281601a2386e8758.tar.bz2
[libc++] Make sure __clear_and_shrink() maintains string invariants
__clear_and_shrink() was added in D41976, and a test was added alongside it to make sure that the string invariants were maintained. However, it appears that the test never ran under UBSan before, which would have highlighted the fact that it doesn't actually maintain the string invariants. Differential Revision: https://reviews.llvm.org/D88849
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions