mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
Fix a bug in test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14e824a6a8
commit
728b07f28e
@ -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
Block a user