[Lldb-commits] [PATCH] D20738: Make sure that indexing is done before clearing DIE info.
Philippe Lavoie via lldb-commits
lldb-commits at lists.llvm.org
Fri May 27 10:54:36 PDT 2016
phlav created this revision.
phlav added reviewers: lldb-commits, clayborg.
phlav added a subscriber: phlav.
"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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5567 bytes
Desc: not available
More information about the lldb-commits