diff options
| author | Cameron Desrochers <cameron@moodycamel.com> | 2016-05-30 15:32:51 +0000 |
|---|---|---|
| committer | Cameron Desrochers <cameron@moodycamel.com> | 2016-05-30 15:32:51 +0000 |
| commit | 64f6c6644ee557c8d24f8b4d65d5cb662b5eb2da (patch) | |
| tree | 2cd6dea01c24915bcd0ca25421077b06ddd0f040 /llvm/test/CodeGen/WebAssembly/non-executable-stack.ll | |
| parent | 5500f95a00e9730256b70aca41cfa4b32da0a013 (diff) | |
| download | bcm5719-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 'llvm/test/CodeGen/WebAssembly/non-executable-stack.ll')
0 files changed, 0 insertions, 0 deletions

