diff options
author | Philip Reames <listmail@philipreames.com> | 2015-12-04 23:48:19 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-12-04 23:48:19 +0000 |
commit | 000f77d72815e45c40c5382717f8a7ab8bbf2d94 (patch) | |
tree | bea15e4ea748641aab5f224d91c4b439d2cc8f49 /lldb/packages/Python/lldbsuite/test/python_api/thread | |
parent | bae7e75959c1897e54343db410baf2bb7cc48e93 (diff) | |
download | bcm5719-llvm-000f77d72815e45c40c5382717f8a7ab8bbf2d94.tar.gz bcm5719-llvm-000f77d72815e45c40c5382717f8a7ab8bbf2d94.zip |
[PassManager] Ensure destructors of cached AnalysisUsage objects are run
In 254760, I introduced the usage of a BumpPtrAllocator for the AnalysisUsage instances held by the PassManger. This turns out to have been incorrect since a BumpPtrAllocator does not run the destructors of objects when deallocating memory. Since a few of our SmallVector's had grown beyond their small size, we end up with some leaked memory. We need to use a SpecificBumpPtrAllocator instead.
llvm-svn: 254803
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions