diff options
author | Mingming Liu <mingmingl@google.com> | 2023-12-18 19:31:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 19:31:18 -0800 |
commit | 6ce23ea0ab6370c944f5e426a20217f93f41aa15 (patch) | |
tree | d3816e35e252d1e9a576680236a25c3216b19da8 /llvm/unittests | |
parent | cdda08bb9a0ef6bf222b76a3f747a9001bfc39eb (diff) | |
download | llvm-6ce23ea0ab6370c944f5e426a20217f93f41aa15.zip llvm-6ce23ea0ab6370c944f5e426a20217f93f41aa15.tar.gz llvm-6ce23ea0ab6370c944f5e426a20217f93f41aa15.tar.bz2 |
Revert "Reland "[PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. "" (#75888)
Reverts llvm/llvm-project#75860
- Mangled name mismatch on Windows
(https://lab.llvm.org/buildbot/#/builders/127/builds/59907/steps/8/logs/stdio)
Diffstat (limited to 'llvm/unittests')
-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 6a71a97..e6613a90 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/unittests/ProfileData/InstrProfTest.cpp @@ -1379,7 +1379,7 @@ TEST(SymtabTest, instr_prof_symtab_compression_test) { TEST_P(MaybeSparseInstrProfTest, remapping_test) { Writer.addRecord({"_Z3fooi", 0x1234, {1, 2, 3, 4}}, Err); - Writer.addRecord({"file;_Z3barf", 0x567, {5, 6, 7}}, Err); + Writer.addRecord({"file:_Z3barf", 0x567, {5, 6, 7}}, Err); auto Profile = Writer.writeBuffer(); readProfile(std::move(Profile), llvm::MemoryBuffer::getMemBuffer(R"( type i l @@ -1397,7 +1397,7 @@ TEST_P(MaybeSparseInstrProfTest, remapping_test) { EXPECT_EQ(4u, Counts[3]); } - for (StringRef BarName : {"file;_Z3barf", "file;_Z4quuxf"}) { + for (StringRef BarName : {"file:_Z3barf", "file:_Z4quuxf"}) { EXPECT_THAT_ERROR(Reader->getFunctionCounts(BarName, 0x567, Counts), Succeeded()); ASSERT_EQ(3u, Counts.size()); |