mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix a memory link problem in SampleProfTest.cpp.
This commit is contained in:
parent
4cd45015fc
commit
dc71127fed
@ -121,8 +121,6 @@ struct SampleProfTest : ::testing::Test {
|
||||
delete PS;
|
||||
|
||||
// Test that summary can be attached to and read back from module.
|
||||
PS = ProfileSummary::getFromMD(MD);
|
||||
|
||||
M.eraseNamedMetadata(M.getOrInsertModuleFlagsMetadata());
|
||||
M.setProfileSummary(MD, ProfileSummary::PSK_Sample);
|
||||
MD = M.getProfileSummary(/* IsCS */ false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user