aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/MemProfTest.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2025-05-19 16:12:57 -0700
committerGitHub <noreply@github.com>2025-05-19 16:12:57 -0700
commit7268c4e7b3b905835597129f40ba697c0f1319dd (patch)
treeff3134058a53d14680a59f25be4e938a24ff5a43 /llvm/unittests/ProfileData/MemProfTest.cpp
parentb586ddfd285c76ea6ea9656a11cfb03fcde58787 (diff)
downloadllvm-7268c4e7b3b905835597129f40ba697c0f1319dd.zip
llvm-7268c4e7b3b905835597129f40ba697c0f1319dd.tar.gz
llvm-7268c4e7b3b905835597129f40ba697c0f1319dd.tar.bz2
[NFC][MemProf] Fix typo in type name (#140500)
Diffstat (limited to 'llvm/unittests/ProfileData/MemProfTest.cpp')
-rw-r--r--llvm/unittests/ProfileData/MemProfTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/unittests/ProfileData/MemProfTest.cpp b/llvm/unittests/ProfileData/MemProfTest.cpp
index ea36727..b193799 100644
--- a/llvm/unittests/ProfileData/MemProfTest.cpp
+++ b/llvm/unittests/ProfileData/MemProfTest.cpp
@@ -554,7 +554,7 @@ TEST(MemProf, IndexedMemProfRecordToMemProfRecord) {
IndexedRecord.CallSites.push_back(IndexedCallSiteInfo(CS3Id));
IndexedRecord.CallSites.push_back(IndexedCallSiteInfo(CS4Id));
- IndexedCallstackIdConveter CSIdConv(MemProfData);
+ IndexedCallstackIdConverter CSIdConv(MemProfData);
MemProfRecord Record = IndexedRecord.toMemProfRecord(CSIdConv);
@@ -591,7 +591,7 @@ TEST(MemProf, MissingCallStackId) {
// Create empty maps.
IndexedMemProfData MemProfData;
- IndexedCallstackIdConveter CSIdConv(MemProfData);
+ IndexedCallstackIdConverter CSIdConv(MemProfData);
// We are only interested in errors, not the return value.
(void)IndexedMR.toMemProfRecord(CSIdConv);
@@ -609,7 +609,7 @@ TEST(MemProf, MissingFrameId) {
IndexedMemProfRecord IndexedMR;
IndexedMR.AllocSites.emplace_back(CSId, makePartialMIB(), getHotColdSchema());
- IndexedCallstackIdConveter CSIdConv(MemProfData);
+ IndexedCallstackIdConverter CSIdConv(MemProfData);
// We are only interested in errors, not the return value.
(void)IndexedMR.toMemProfRecord(CSIdConv);
@@ -763,7 +763,7 @@ HeapProfileRecords:
const auto &[GUID, IndexedRecord] = MemProfData.Records.front();
EXPECT_EQ(GUID, 0xdeadbeef12345678ULL);
- IndexedCallstackIdConveter CSIdConv(MemProfData);
+ IndexedCallstackIdConverter CSIdConv(MemProfData);
MemProfRecord Record = IndexedRecord.toMemProfRecord(CSIdConv);
ASSERT_THAT(Record.AllocSites, SizeIs(2));
@@ -814,7 +814,7 @@ HeapProfileRecords:
const auto &[GUID, IndexedRecord] = MemProfData.Records.front();
EXPECT_EQ(GUID, IndexedMemProfRecord::getGUID("_Z3fooi"));
- IndexedCallstackIdConveter CSIdConv(MemProfData);
+ IndexedCallstackIdConverter CSIdConv(MemProfData);
MemProfRecord Record = IndexedRecord.toMemProfRecord(CSIdConv);
ASSERT_THAT(Record.AllocSites, SizeIs(1));