[llvm] [Support] Support debug counters in non-assertion builds (PR #170468)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 18:28:19 PST 2025


boomanaiden154 wrote:

I've pushed 5b30750893ce3e005c5b1f7da963ab0adcf4cb61 to fix that. The function looked looking at the debug counters looked kind of hot, being called on every instruction from what I could tell at a glance, so I didn't just want to enable that in release builds.

CC @arsenm @jayfoad @kerbowa In case anyone on your end cares about the ability to use debug counters in a compiler built without assertions.

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


More information about the llvm-commits mailing list