[PATCH] D43901: Make STATISTIC() values available programmatically
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 1 10:47:02 PST 2018
dsanders updated this revision to Diff 136574.
dsanders added a comment.
During further testing, I noticed that the pre-existing LLVM_ENABLE_STATS option
isn't actually available to CMake and therefore the -DLLVM_ENABLE_STATS option
that PrintStatistics() suggests in its error message doesn't do anything.
Updated the patch to fix that at the same time
Repository:
rL LLVM
https://reviews.llvm.org/D43901
Files:
cmake/modules/HandleLLVMOptions.cmake
include/llvm/ADT/Statistic.h
include/llvm/ADT/StatisticInfo.h
include/llvm/Config/config.h.cmake
lib/Support/Statistic.cpp
unittests/ADT/CMakeLists.txt
unittests/ADT/StatisticTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43901.136574.patch
Type: text/x-patch
Size: 9612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180301/b1e08223/attachment.bin>
More information about the llvm-commits
mailing list