aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-05-06 17:18:03 +0000
committerNico Weber <nicolasweber@gmx.de>2014-05-06 17:18:03 +0000
commit5f8116ba465c538fc080ce91ce1d1b9bb6102cac (patch)
tree705dc055a665e452e7ebcdf20b5dc78401e167f3 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
parentc14ccc9184fc1bf02212fb85fdce36e9be8558d5 (diff)
downloadllvm-5f8116ba465c538fc080ce91ce1d1b9bb6102cac.zip
llvm-5f8116ba465c538fc080ce91ce1d1b9bb6102cac.tar.gz
llvm-5f8116ba465c538fc080ce91ce1d1b9bb6102cac.tar.bz2
Fix a leak found by LSan: ConsumedBlockInfo owns its StateMapsArray entries.
(I tried converting StateMapsArray to a vector<unique_ptr> and changing the types of getInfo() and addInfo() to take unique_ptrs. This mostly worked, except for the three-argument form of addInfo() which I found confusing enough that I went with this simpler fix for now.) llvm-svn: 208108
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions