diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2018-04-30 21:37:30 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2018-04-30 21:37:30 +0000 |
commit | 32f2d0e5643b5ab58486810050320a678862ae04 (patch) | |
tree | a17290f5cae059dbcb3cdc5fcbf1e91fd4588f41 /lldb/packages/Python/lldbsuite/test/help/TestHelp.py | |
parent | 1934cb1c4947b281b816a3e7102cae69b78a1649 (diff) | |
download | bcm5719-llvm-32f2d0e5643b5ab58486810050320a678862ae04.tar.gz bcm5719-llvm-32f2d0e5643b5ab58486810050320a678862ae04.zip |
Protect DWARFCompileUnit::m_die_array by a new mutex
Multiple DW_TAG_compile_unit being indexed in a multithreaded way can request
reading of the same DW_TAG_partial_unit.
Unfortunately one cannot detect DWZ file ahead of time to disable such locking
overhead as DWARFCompileUnit::Extract does not read the first DIE which is the
only place one could find early enough if the DWARF file is using any
DW_TAG_partial_unit.
Differential revision: https://reviews.llvm.org/D40470
llvm-svn: 331229
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/help/TestHelp.py')
0 files changed, 0 insertions, 0 deletions