Skip to content

Commit 8a7883d

Browse files
committed
Update remark name to pass name
1 parent e5918ff commit 8a7883d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Instrumentation/MemProfUse.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ handleAllocSite(Instruction &I, CallBase *CI,
455455
AllocInfo->Info.getTotalSize(), AllocType};
456456
}
457457
ORE.emit(
458-
OptimizationRemark(DEBUG_TYPE, "MemprofContext", CI)
458+
OptimizationRemark(DEBUG_TYPE, "MemProfUse", CI)
459459
<< ore::NV("AllocationCall", CI) << " in function "
460460
<< ore::NV("Caller", CI->getFunction())
461461
<< " matched alloc context with alloc type "
@@ -549,7 +549,7 @@ static void handleCallSite(
549549
append_range(CallStack, InlinedCallStack);
550550
MatchedCallSites.insert(std::move(CallStack));
551551
}
552-
ORE.emit(OptimizationRemark(DEBUG_TYPE, "MemprofContext", &I)
552+
ORE.emit(OptimizationRemark(DEBUG_TYPE, "MemProfUse", &I)
553553
<< ore::NV("CallSite", &I) << " in function "
554554
<< ore::NV("Caller", I.getFunction())
555555
<< " matched callsite with frame count "

0 commit comments

Comments
 (0)