aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2020-11-12 15:14:48 -0800
committerEvgenii Stepanov <eugenis@google.com>2020-11-18 16:04:08 -0800
commit523cc097fdafa1bb60373dcc70df7dfd31551f56 (patch)
tree88bed414ce95991d31ea381b08aa7b4c797d9fa2 /lldb/source/Commands/CommandObjectThread.cpp
parent67f16e9e91f2f07cdb9813b60c195f5a1cd1f57d (diff)
downloadllvm-523cc097fdafa1bb60373dcc70df7dfd31551f56.zip
llvm-523cc097fdafa1bb60373dcc70df7dfd31551f56.tar.gz
llvm-523cc097fdafa1bb60373dcc70df7dfd31551f56.tar.bz2
[hwasan] Fix Thread reuse (try 2).
HwasanThreadList::DontNeedThread clobbers Thread::next_, Breaking the freelist. As a result, only the top of the freelist ever gets reused, and the rest of it is lost. Since the Thread object with its associated ring buffer is only 8Kb, this is typically only noticable in long running processes, such as fuzzers. Fix the problem by switching from an intrusive linked list to a vector. Differential Revision: https://reviews.llvm.org/D91392
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions