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:
aedb528
)
Fix builds where LLVM_ENABLE_STATS is disabled
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sat, 9 Nov 2019 13:47:53 +0000
(13:47 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sat, 9 Nov 2019 13:47:53 +0000
(13:47 +0000)
Missed Stats->EnableStats rename in rG3fb832fe8bdc317687d5a4d2ca20f5f73b089341
llvm/lib/Support/Statistic.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Statistic.cpp
b/llvm/lib/Support/Statistic.cpp
index
ad5f0e9
..
8cc5020
100644
(file)
--- a/
llvm/lib/Support/Statistic.cpp
+++ b/
llvm/lib/Support/Statistic.cpp
@@
-242,7
+242,7
@@
void llvm::PrintStatistics() {
// Check if the -stats option is set instead of checking
// !Stats.Stats.empty(). In release builds, Statistics operators
// do nothing, so stats are never Registered.
- if (Stats) {
+ if (
Enable
Stats) {
// Get the stream to write to.
std::unique_ptr<raw_ostream> OutStream = CreateInfoOutputFile();
(*OutStream) << "Statistics are disabled. "