summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCameron Desrochers <cameron@moodycamel.com>2016-05-30 15:32:51 +0000
committerCameron Desrochers <cameron@moodycamel.com>2016-05-30 15:32:51 +0000
commit64f6c6644ee557c8d24f8b4d65d5cb662b5eb2da (patch)
tree2cd6dea01c24915bcd0ca25421077b06ddd0f040 /clang/lib/CodeGen/CodeGenModule.cpp
parent5500f95a00e9730256b70aca41cfa4b32da0a013 (diff)
downloadbcm5719-llvm-64f6c6644ee557c8d24f8b4d65d5cb662b5eb2da.tar.gz
bcm5719-llvm-64f6c6644ee557c8d24f8b4d65d5cb662b5eb2da.zip
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud