Skip to content

Commit 2886576

Browse files
[memprof] clang-format MemProf-related files (NFC) (llvm#120504)
1 parent 3710050 commit 2886576

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/ProfileData/MemProfReader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@ Error RawMemProfReader::symbolizeAndFilterStackFrames(
596596
// Drop the entries where the callstack is empty.
597597
for (const uint64_t Id : EntriesToErase) {
598598
StackMap.erase(Id);
599-
if(CallstackProfileData[Id].AccessHistogramSize > 0)
600-
free((void*) CallstackProfileData[Id].AccessHistogram);
599+
if (CallstackProfileData[Id].AccessHistogramSize > 0)
600+
free((void *)CallstackProfileData[Id].AccessHistogram);
601601
CallstackProfileData.erase(Id);
602602
}
603603

llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static cl::opt<int> ClDebugMax("memprof-debug-max", cl::desc("Debug max inst"),
152152
// override these hints anyway.
153153
static cl::opt<bool> ClMemProfMatchHotColdNew(
154154
"memprof-match-hot-cold-new",
155-
cl::desc(
155+
cl::desc(
156156
"Match allocation profiles onto existing hot/cold operator new calls"),
157157
cl::Hidden, cl::init(false));
158158

0 commit comments

Comments
 (0)