[llvm] [llvm-profdata] Emit warning when counter value is greater than 2^56. (PR #69513)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 11:28:45 PDT 2023


zmodem wrote:

Agreed that it maybe time to rethink the error handling.

We'd definitely want an option to treat these pathological counts as an error.

Maybe just having a `-Werror` flag is enough for that, or we might need more granular flags. I don't know enough about what other non-fatal errors there are, and their seriousness.

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


More information about the llvm-commits mailing list