summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBTarget.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-05-07 19:55:38 +0000
committerNico Weber <nicolasweber@gmx.de>2014-05-07 19:55:38 +0000
commitbc8a35f093282417c8ba8714fedb6cd5166ba627 (patch)
treeee5956d4f0447e14b04a307f7c830439512eea81 /lldb/source/API/SBTarget.cpp
parent9589f49b82b594d2ee51a4181ace67f7d4af56f6 (diff)
downloadbcm5719-llvm-bc8a35f093282417c8ba8714fedb6cd5166ba627.tar.gz
bcm5719-llvm-bc8a35f093282417c8ba8714fedb6cd5166ba627.zip
Let OnDiskHashTable call the destructor of its Items.
OnDiskHashTable::insert() calls the Item constructor via placement new, but nothing called the destructor. This matters in cases when the Info template parameter has key_type or data_type typedefs that have a destructor, for example like IdentifierIndexWriterTrait in clang's GlobalModuleIndex.cpp. This fixes a 5-year old bug that's been around since the OnDiskHashTable code was added in r64192. Bug found by LSan! llvm-svn: 208243
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud