[llvm-dev] RFC: Pass Execution Instrumentation interface
David A. Greene via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 13 13:43:58 PDT 2018
Fedor Sergeev <fedor.sergeev at azul.com> writes:
> My problem with debug counters is that they are ... well ...
> debug-only :)
> I was planning to use debug counters for the purpose of pass execution
> counting but then
> realized that it will not work in Release mode at all.
> But other than that debug counters seems to be a exactly a machinery
> designed for opt-in control of internal pass activity.
Why were debug counters made debug-only in the first place? We
certainly use our -pass-max stuff in release builds. Most of the time a
debug build is fine but for some codes a debug build is way too slow to
allow bisecting in a reasonable amount of time.
More information about the llvm-dev