diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2018-06-05 08:52:18 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2018-06-05 08:52:18 +0000 |
commit | c8e357f796ce8f60401719308552ceacd974413b (patch) | |
tree | 9847e2622d7c139790cdf68ffbe9f729f23040ff /clang/lib/AST/ASTContext.cpp | |
parent | 7f88ea1fa2e152302e8e5cef1f074945c0928665 (diff) | |
download | bcm5719-llvm-c8e357f796ce8f60401719308552ceacd974413b.tar.gz bcm5719-llvm-c8e357f796ce8f60401719308552ceacd974413b.zip |
Protect DWARFCompileUnit::m_die_array by new mutexes
If BuildAddressRangeTable called ExtractDIEsIfNeeded(false), then another
thread started processing data from m_die_array and then the first thread
called final ClearDIEs() the second thread would crash.
It is also required without multithreaded debugger using DW_TAG_partial_unit
for DWZ.
Differential revision: https://reviews.llvm.org/D40470
llvm-svn: 333987
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions