[llvm-dev] Question about DebugCounter info print out

Zhizhou Yang via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 19 10:57:06 PDT 2018


Hi,

I am now working on transformation level bisecting using DebugCounter.

I have a patch which lets us keep track of the total counts of DebugCounter:
https://reviews.llvm.org/D49560

I am wondering what is the best way to expose them from opt or clang.
I was thinking of writing a pass to print the total counts of DebugCounter
out, but since I am not familiar with this workflow, I am wondering if it is
a proper way to do it.

Thoughts appreciated.

Thanks,
Zhizhou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180719/5e1e5d4b/attachment.html>


More information about the llvm-dev mailing list