diff options
author | Huihui Zhang <huihuiz@quicinc.com> | 2021-03-30 12:10:44 -0700 |
---|---|---|
committer | Huihui Zhang <huihuiz@quicinc.com> | 2021-03-30 12:10:56 -0700 |
commit | d857a81437cbd9066b29dffceec500e3ea1edc0e (patch) | |
tree | 558ec05826d77efc6d8771f5e6e31295e98a7f7e /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | a35c2c7942e4c66aedf6b9133ad6398b602c0198 (diff) | |
download | llvm-d857a81437cbd9066b29dffceec500e3ea1edc0e.zip llvm-d857a81437cbd9066b29dffceec500e3ea1edc0e.tar.gz llvm-d857a81437cbd9066b29dffceec500e3ea1edc0e.tar.bz2 |
[VPlan] Use SetVector for VPExternalDefs to prevent non-determinism.
Use SetVector instead of SmallPtrSet for external definitions created for VPlan.
Doing this can help avoid non-determinism caused by iterating over unordered containers.
This bug was found with reverse iteration turning on,
--extra-llvm-cmake-variables="-DLLVM_REVERSE_ITERATION=ON".
Failing LLVM-Unit test VPRecipeTest.dump.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D99544
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions