[PATCH] D43901: Make STATISTIC() values available programmatically

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 14:29:34 PST 2018


dsanders updated this revision to Diff 136853.
dsanders added a comment.

Statistics can actually be gathered (LLVM_ENABLE_STATS isn't always false anymore). Tested out of the patch using #error in the unit test.
Moved StatisticInfo back


Repository:
  rL LLVM

https://reviews.llvm.org/D43901

Files:
  cmake/modules/HandleLLVMOptions.cmake
  include/llvm/ADT/Statistic.h
  include/llvm/Config/llvm-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.136853.patch
Type: text/x-patch
Size: 7709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180302/c327a0a8/attachment.bin>


More information about the llvm-commits mailing list