llvm-project/lldb/source
Cameron Desrochers 64f6c6644e [LLDB] Make sure that indexing is done before clearing DIE info
"ClearDIEs()" was being called too soon, before everyone was done using the DIEs.

This fix delays the calls to ::ClearDIEs() until all compile units have been indexed.

1 - Call "::ExtractDIEsIfNeeded()" on all compile units on separate threads. See if each CU has the DIEs parsed and remember this.
2 - Index all compile units on separate threads.
3 - Clear any DIEs in any compile units that didn't have their DIEs parsed after all compile units have been indexed.

Patch by phlav

Differential Revision: http://reviews.llvm.org/D20738

llvm-svn: 271209
2016-05-30 15:32:51 +00:00
..
API Make sure to try and take the process stop lock when calling: 2016-05-26 00:08:39 +00:00
Breakpoint Lock the access to the BreakpointLocationCollection. 2016-05-26 23:55:04 +00:00
Commands second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Core Add a new "lldb" log channel named "demangle". If we have crashes that are related to demangling, we now can enable this logging and we will be able to reproduce demangler crashes (usually due to overflowing the stack) without needing someone's project. 2016-05-27 00:17:18 +00:00
DataFormatters remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
Expression remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
Host second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Initialization remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
Interpreter second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Plugins [LLDB] Make sure that indexing is done before clearing DIE info 2016-05-30 15:32:51 +00:00
Symbol With -gmodules, we have been having a harder time always finding a type when we need one. 2016-05-26 22:33:25 +00:00
Target Lock out Process::RunThreadPlan so only one can be in flight at a time. 2016-05-24 18:29:36 +00:00
Utility Skip leading spaces when decoding hex values 2016-05-24 18:19:45 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00