projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea6dec1
)
Revert "[ProfileData] Fix a warning"
author
Douglas Yung
<douglas.yung@sony.com>
Tue, 10 Jan 2023 07:52:06 +0000
(23:52 -0800)
committer
Douglas Yung
<douglas.yung@sony.com>
Tue, 10 Jan 2023 07:52:06 +0000
(23:52 -0800)
This reverts commit
9f4a9d3f44501fa755eb71fe855e15cf0e59e8b8
.
Reverting this change which was a follow-up to
5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9
which is being reverted due to test failures on Mac/Windows.
llvm/lib/ProfileData/SampleProfWriter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ProfileData/SampleProfWriter.cpp
b/llvm/lib/ProfileData/SampleProfWriter.cpp
index
25fb97f
..
e52c7ba
100644
(file)
--- a/
llvm/lib/ProfileData/SampleProfWriter.cpp
+++ b/
llvm/lib/ProfileData/SampleProfWriter.cpp
@@
-125,7
+125,6
@@
std::error_code SampleProfileWriter::writeWithSizeLimitInternal(
LLVM_DEBUG(dbgs() << "Profile originally has " << OriginalFunctionCount
<< " functions, reduced to " << ProfileMap.size() << " in "
<< IterationCount << " iterations\n");
- (void)OriginalFunctionCount;
return sampleprof_error::success;
}