Nico Weber
1ec10c111c
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208243 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-07 19:55:38 +00:00
..
2014-01-09 03:28:55 +00:00
2014-04-18 14:54:51 +00:00
2014-01-20 10:18:42 +00:00
2014-01-06 04:14:03 +00:00
2014-04-14 00:51:57 +00:00
2014-04-29 16:31:29 +00:00
2014-04-29 17:07:42 +00:00
2014-04-09 06:08:46 +00:00
2014-04-07 04:17:22 +00:00
2014-04-07 23:12:20 +00:00
2014-04-14 00:51:57 +00:00
2014-03-27 22:36:06 +00:00
2014-04-05 21:53:04 +00:00
2013-07-16 17:14:33 +00:00
2014-05-06 01:44:26 +00:00
2013-07-26 16:54:23 +00:00
2013-07-26 16:54:23 +00:00
2014-04-21 22:55:11 +00:00
2014-03-31 23:50:20 +00:00
2014-04-07 04:17:22 +00:00
2014-04-20 21:05:36 +00:00
2014-03-25 01:04:44 +00:00
2014-03-28 19:14:43 +00:00
2014-04-07 04:17:22 +00:00
2014-03-07 14:42:25 +00:00
2014-03-05 10:27:34 +00:00
2014-04-29 23:26:49 +00:00
2014-04-07 04:17:22 +00:00
2014-03-04 06:24:11 +00:00
2014-04-07 04:17:22 +00:00
2014-05-07 02:11:23 +00:00
2014-04-28 09:34:03 +00:00
2014-04-14 00:51:57 +00:00
2014-04-07 04:17:22 +00:00
2013-12-12 15:45:32 +00:00
2014-04-07 04:17:22 +00:00
2014-04-18 16:57:01 +00:00
2014-04-06 03:19:31 +00:00
2014-03-29 10:18:08 +00:00
2014-04-07 04:17:22 +00:00
2014-03-28 09:08:14 +00:00
2014-03-07 21:30:49 +00:00
2014-04-07 04:17:22 +00:00
2014-05-06 01:03:52 +00:00
2014-05-07 19:55:38 +00:00
2014-01-31 23:46:06 +00:00
2014-03-10 03:53:12 +00:00
2014-03-04 06:24:11 +00:00
2014-04-07 04:17:22 +00:00
2014-03-10 03:53:12 +00:00
2014-04-30 09:33:50 +00:00
2014-03-30 11:36:29 +00:00
2013-08-27 11:20:13 +00:00
2014-04-07 04:17:22 +00:00
2014-04-15 05:53:26 +00:00
2014-04-10 09:44:32 +00:00
2014-04-07 04:17:22 +00:00
2014-04-07 04:17:22 +00:00
2014-04-07 04:17:22 +00:00
2014-04-07 04:17:22 +00:00
2014-04-07 04:17:22 +00:00
2014-03-02 09:09:27 +00:00
2014-04-07 04:17:22 +00:00
2013-06-14 15:12:13 +00:00
2014-05-07 13:00:43 +00:00
2014-04-14 00:51:57 +00:00
2014-02-11 09:11:18 +00:00
2014-02-24 15:07:20 +00:00
2014-03-07 15:54:23 +00:00
2013-09-04 16:00:12 +00:00
2014-04-21 22:55:11 +00:00
2014-03-30 11:20:25 +00:00
2014-03-05 00:43:02 +00:00
2014-04-15 08:59:52 +00:00
2014-04-24 06:44:33 +00:00