aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2021-06-04 13:38:26 -0700
committerKostya Kortchinsky <kostyak@google.com>2021-06-04 13:41:59 -0700
commit5019b0a56588fc13e6a37c49e22a812afe6c4416 (patch)
tree55561e55ba586790a32bd68c6179beeb272fe478 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parentefea1b17824377c274abe5600d7d973087553e23 (diff)
downloadllvm-5019b0a56588fc13e6a37c49e22a812afe6c4416.zip
llvm-5019b0a56588fc13e6a37c49e22a812afe6c4416.tar.gz
llvm-5019b0a56588fc13e6a37c49e22a812afe6c4416.tar.bz2
[scudo] Fix String DCHECK
This resolves an issue tripping a `DCHECK`, as I was checking for the capacity and not the size. We don't need to 0-init the Vector as it's done already, and make sure we only 0-out the string on clear if it's not empty. Differential Revision: https://reviews.llvm.org/D103716
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions