summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InterferenceCache.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-02-20 05:10:06 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-02-20 05:10:06 +0000
commit62ac78ae3e5e8198aaba8acaed891349b3de615f (patch)
treed8b6349da3995c76c6fa389718aa0fb8c5443f59 /llvm/lib/CodeGen/InterferenceCache.h
parente5aaf3f2cd144b978367086876f24dbe283d0f38 (diff)
downloadbcm5719-llvm-62ac78ae3e5e8198aaba8acaed891349b3de615f.tar.gz
bcm5719-llvm-62ac78ae3e5e8198aaba8acaed891349b3de615f.zip
LinkerScript: Remove leaks in the parser
LinkerScript AST nodes are never destroyed which means that their std::vector members will never be destroyed. Instead, allocate the operand list itself in the Parser's BumpPtrAllocator. This ensures that the storage will be destroyed along with the nodes when the Parser is destroyed. llvm-svn: 229967
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud