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:
053fce9
)
Fix "Statistics are disabled"
author
Vitaly Buka
<vitalybuka@google.com>
Wed, 3 Jun 2020 22:30:03 +0000
(15:30 -0700)
committer
Vitaly Buka
<vitalybuka@google.com>
Wed, 3 Jun 2020 23:10:09 +0000
(16:10 -0700)
There is no -DLLVM_ENABLE_STATS, only
-DLLVM_FORCE_ENABLE_STATS.
It was renamed by
6cf299cf01e4a83844126f7faf17cbeb78e88da9
llvm/lib/Support/Statistic.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Statistic.cpp
b/llvm/lib/Support/Statistic.cpp
index
25f1387
..
e9308ab
100644
(file)
--- a/
llvm/lib/Support/Statistic.cpp
+++ b/
llvm/lib/Support/Statistic.cpp
@@
-246,7
+246,7
@@
void llvm::PrintStatistics() {
// Get the stream to write to.
std::unique_ptr<raw_ostream> OutStream = CreateInfoOutputFile();
(*OutStream) << "Statistics are disabled. "
- << "Build with asserts or with -DLLVM_ENABLE_STATS\n";
+ << "Build with asserts or with -DLLVM_
FORCE_
ENABLE_STATS\n";
}
#endif
}