diff options
author | Vedant Kumar <vsk@apple.com> | 2016-03-28 16:14:07 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-03-28 16:14:07 +0000 |
commit | 088a726f6f85782dec24f80deb7be556d4fe6698 (patch) | |
tree | 607b2cf22dc9485fddfe275c42427ad3f39a3acc /llvm/unittests/ProfileData/InstrProfTest.cpp | |
parent | a76bcc2ea1474fe7df0c757d3a4ca0bfaeed8913 (diff) | |
download | llvm-088a726f6f85782dec24f80deb7be556d4fe6698.zip llvm-088a726f6f85782dec24f80deb7be556d4fe6698.tar.gz llvm-088a726f6f85782dec24f80deb7be556d4fe6698.tar.bz2 |
Revert "[PGO] Fix name encoding for ObjC-like functions"
This reverts commit r264587. Reverting to investigate 6 unexpected
failures on the ppc bot:
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/2822
llvm-svn: 264590
Diffstat (limited to 'llvm/unittests/ProfileData/InstrProfTest.cpp')
-rw-r--r-- | llvm/unittests/ProfileData/InstrProfTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp index 7dd072c..13d1e05 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/unittests/ProfileData/InstrProfTest.cpp @@ -893,7 +893,7 @@ TEST_P(MaybeSparseInstrProfTest, instr_prof_symtab_compression_test) { OS << "func_" << I; FuncNames1.push_back(OS.str()); str.clear(); - OS << "f oooooooooooooo_" << I; + OS << "fooooooooooooooo_" << I; FuncNames1.push_back(OS.str()); str.clear(); OS << "BAR_" << I; @@ -931,7 +931,7 @@ TEST_P(MaybeSparseInstrProfTest, instr_prof_symtab_compression_test) { StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash(FuncNames1[0])); ASSERT_EQ(StringRef("func_0"), R); R = Symtab.getFuncName(IndexedInstrProf::ComputeHash(FuncNames1[1])); - ASSERT_EQ(StringRef("f oooooooooooooo_0"), R); + ASSERT_EQ(StringRef("fooooooooooooooo_0"), R); for (int I = 0; I < 3; I++) { std::string N[4]; N[0] = FuncNames1[2 * I]; |