diff options
author | Louis Dionne <ldionne@apple.com> | 2020-10-05 16:16:13 -0400 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2020-10-07 09:16:59 -0400 |
commit | 602c193e2aeb19f5d2e48075281601a2386e8758 (patch) | |
tree | 45ed117e11e9e308f3dc773d909ce025de157f09 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 7b5dfb400a67f03122b43cd5d59b8b1ef6d00147 (diff) | |
download | llvm-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