aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-04-14 14:16:26 -0700
committerAlex Langford <alangford@apple.com>2023-04-17 14:48:16 -0700
commit43ac269bdd00d709005f8f3550db6b657b2bf940 (patch)
treec59491215de7f0d0e0cb7fe2515430c4759fc5b0 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent64ce140fa60846b4dc17b1212c4c8e8a22965622 (diff)
downloadllvm-43ac269bdd00d709005f8f3550db6b657b2bf940.zip
llvm-43ac269bdd00d709005f8f3550db6b657b2bf940.tar.gz
llvm-43ac269bdd00d709005f8f3550db6b657b2bf940.tar.bz2
[lldb] Lock accesses to PathMappingLists's internals
This class is not safe in multithreaded code. It's possible for one thread to modify a PathMappingList's `m_pair` vector while another thread is iterating over it, effectively invalidating the iterator and potentially leading to crashes or other difficult-to-diagnose bugs. rdar://107695786 Differential Revision: https://reviews.llvm.org/D148380
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions