Fix asan test failure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Xinliang David Li 2016-04-10 05:31:29 +00:00
parent 6aa584fdaf
commit 5cc3ce758d

View File

@ -790,6 +790,8 @@ TEST_P(MaybeSparseInstrProfTest, runtime_value_prof_data_read_write_mapping) {
// callee5 does not have a mapped value -- default to 0.
ASSERT_EQ(VD_0[4].Value, 0ULL);
finalizeValueProfRuntimeRecord(&RTRecord);
free(VPData);
}
TEST_P(MaybeSparseInstrProfTest, get_max_function_count) {