================ @@ -38,6 +38,9 @@ using namespace llvm; +// Maxium counter value 2^56. +static uint64_t MaxCounterValue = 0xffffffffffffff; ---------------- huangjd wrote: Constant should be declared in a header https://github.com/llvm/llvm-project/pull/69513