[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.


http://reviews.llvm.org/D20738

Files:
  SymbolFileDWARF.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20738.58661.patch
Type: text/x-patch
Size: 5567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160527/d923a9fe/attachment.bin>


More information about the lldb-commits mailing list