Skip to content

Commit 427172a

Browse files
[memprof] Remove a stale comment in a unit test (#119060)
We've removed IndexedAllocationInfo::CallStack, so we don't need to mention it.
1 parent 3f458cd commit 427172a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/unittests/ProfileData/InstrProfTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,6 @@ makeRecordV2(std::initializer_list<::llvm::memprof::CallStackId> AllocFrames,
401401
const MemInfoBlock &Block, const memprof::MemProfSchema &Schema) {
402402
llvm::memprof::IndexedMemProfRecord MR;
403403
for (const auto &CSId : AllocFrames)
404-
// We don't populate IndexedAllocationInfo::CallStack because we use it only
405-
// in Version1.
406404
MR.AllocSites.emplace_back(CSId, Block, Schema);
407405
for (const auto &CSId : CallSiteFrames)
408406
MR.CallSiteIds.push_back(CSId);

0 commit comments

Comments
 (0)