[llvm] [DebugCounter] Add support for non-continous ranges. (PR #89470)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 18 13:05:35 PDT 2025


Ralender wrote:

> After this change, how are you supposed to set a debug counter to zero (as in the old `-count=0`)? I tried `-debug-counter=name=` but that produces an error.

There is no special support for it this. but it could easily be added.

What can be done, is instead is put a very high values `-debug-counter=name=99999999999` and the counter will never happen.

https://github.com/llvm/llvm-project/pull/89470


More information about the llvm-commits mailing list