aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/InstrProfTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-12-07 10:41:26 -0800
committerGitHub <noreply@github.com>2024-12-07 10:41:26 -0800
commit427172a861f6a1ff1d00771b896d2b2a2ac34494 (patch)
tree0acfaa0ff4b23fc691e41cd8f4bddb9d87d0cfa5 /llvm/unittests/ProfileData/InstrProfTest.cpp
parent3f458cd9abbf99cddcded076b5e7b4049607b7b4 (diff)
downloadllvm-427172a861f6a1ff1d00771b896d2b2a2ac34494.zip
llvm-427172a861f6a1ff1d00771b896d2b2a2ac34494.tar.gz
llvm-427172a861f6a1ff1d00771b896d2b2a2ac34494.tar.bz2
[memprof] Remove a stale comment in a unit test (#119060)
We've removed IndexedAllocationInfo::CallStack, so we don't need to mention it.
Diffstat (limited to 'llvm/unittests/ProfileData/InstrProfTest.cpp')
-rw-r--r--llvm/unittests/ProfileData/InstrProfTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp
index 273b89c..49a186c 100644
--- a/llvm/unittests/ProfileData/InstrProfTest.cpp
+++ b/llvm/unittests/ProfileData/InstrProfTest.cpp
@@ -401,8 +401,6 @@ makeRecordV2(std::initializer_list<::llvm::memprof::CallStackId> AllocFrames,
const MemInfoBlock &Block, const memprof::MemProfSchema &Schema) {
llvm::memprof::IndexedMemProfRecord MR;
for (const auto &CSId : AllocFrames)
- // We don't populate IndexedAllocationInfo::CallStack because we use it only
- // in Version1.
MR.AllocSites.emplace_back(CSId, Block, Schema);
for (const auto &CSId : CallSiteFrames)
MR.CallSiteIds.push_back(CSId);