summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/LLVMContextImpl.h
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2017-03-08 23:55:33 +0000
committerJessica Paquette <jpaquette@apple.com>2017-03-08 23:55:33 +0000
commitd4cb9c6da0b940e0b13c1c5a286cc67d31267d70 (patch)
tree6f6f27b830899e0afaad9fd45f8e954a35d2fa41 /llvm/lib/IR/LLVMContextImpl.h
parent935b2a36540049c2780a193a1728387cf94bbacf (diff)
downloadbcm5719-llvm-d4cb9c6da0b940e0b13c1c5a286cc67d31267d70.tar.gz
bcm5719-llvm-d4cb9c6da0b940e0b13c1c5a286cc67d31267d70.zip
[Outliner] Fix memory leak in suffix tree.
This commit changes the BumpPtrAllocator for suffix tree nodes to a SpecificBumpPtrAllocator. Before, node construction was leaking memory because of the DenseMap in SuffixTreeNodes. Changing this to a SpecificBumpPtrAllocator allows this memory to properly be released. llvm-svn: 297319
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud