Fix asan test failure

llvm-svn: 265891
This commit is contained in:
Xinliang David Li 2016-04-10 05:31:29 +00:00
parent 284644838f
commit 06d6ce227d
1 changed files with 2 additions and 0 deletions

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) {