forked from OSchip/llvm-project
parent
0b9df44cf1
commit
da656fe50e
|
@ -688,8 +688,8 @@ TEST_F(InstrProfTest, instr_prof_symtab_module_test) {
|
|||
for (unsigned I = 0; I < sizeof(Funcs) / sizeof(*Funcs); I++) {
|
||||
Function *F = M->getFunction(Funcs[I]);
|
||||
ASSERT_TRUE(F != NULL);
|
||||
StringRef PGOName = getPGOFuncName(*F);
|
||||
ASSERT_EQ(PGOName,
|
||||
std::string PGOName = getPGOFuncName(*F);
|
||||
ASSERT_EQ(StringRef(PGOName),
|
||||
ProfSymtab.getFuncName(IndexedInstrProf::ComputeHash(PGOName)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue