diff options
author | Alex Langford <alangford@apple.com> | 2023-04-14 14:16:26 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-04-17 14:48:16 -0700 |
commit | 43ac269bdd00d709005f8f3550db6b657b2bf940 (patch) | |
tree | c59491215de7f0d0e0cb7fe2515430c4759fc5b0 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 64ce140fa60846b4dc17b1212c4c8e8a22965622 (diff) | |
download | llvm-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