summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-10-19 21:30:15 +0000
committerTed Kremenek <kremenek@apple.com>2010-10-19 21:30:15 +0000
commite75b876fb9b57aeb46a1acdcab12e2975efd8d10 (patch)
tree11933a93bd1d794effc0773bfc3f1c57c7012786 /llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
parentb865f7e025539adce4f4219cc5bc3a54f773503e (diff)
downloadbcm5719-llvm-e75b876fb9b57aeb46a1acdcab12e2975efd8d10.tar.gz
bcm5719-llvm-e75b876fb9b57aeb46a1acdcab12e2975efd8d10.zip
Really fix: <rdar://problem/8361834> MacroInfo::AddTokenToBody() leaks memory
The problem was not the management of MacroInfo objects, but that when we recycle them via the MICache the memory of the underlying SmallVector (within MacroInfo) was not getting released. This is because objects stashed into MICache simply are reused with a placement new, and never have their destructor called. llvm-svn: 116862
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMachineFunctionInfo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud