Index: unittests/ProfileData/InstrProfTest.cpp =================================================================== --- unittests/ProfileData/InstrProfTest.cpp +++ unittests/ProfileData/InstrProfTest.cpp @@ -700,7 +700,7 @@ TEST_F(InstrProfTest, instr_prof_symtab_compression_test) { std::vector FuncNames1; std::vector FuncNames2; - for (int I = 0; I < 10 * 1024; I++) { + for (int I = 0; I < 1024; I++) { std::string str; raw_string_ostream OS(str); OS << "func_" << I; @@ -755,7 +755,7 @@ ASSERT_EQ(StringRef("BAR_50"), R); R = Symtab.getFuncName(IndexedInstrProf::ComputeHash(FuncNames2[101])); ASSERT_EQ(StringRef("BlahblahBlahblahBar_50"), R); - for (int I = 0; I < 10 * 1024; I++) { + for (int I = 0; I < 1024; I++) { std::string N[4]; N[0] = FuncNames1[2 * I]; N[1] = FuncNames1[2 * I + 1];