diff options
author | Kazu Hirata <kazu@google.com> | 2024-12-07 10:41:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-07 10:41:26 -0800 |
commit | 427172a861f6a1ff1d00771b896d2b2a2ac34494 (patch) | |
tree | 0acfaa0ff4b23fc691e41cd8f4bddb9d87d0cfa5 /llvm/unittests/ProfileData/InstrProfTest.cpp | |
parent | 3f458cd9abbf99cddcded076b5e7b4049607b7b4 (diff) | |
download | llvm-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.cpp | 2 |
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); |