================ @@ -140,12 +140,16 @@ static cl::opt<int> ClDebugMin("memprof-debug-min", cl::desc("Debug min inst"), static cl::opt<int> ClDebugMax("memprof-debug-max", cl::desc("Debug max inst"), cl::Hidden, cl::init(-1)); +static cl::opt<bool> ClHistogram("memprof-histogram", ---------------- mattweingarten wrote:
Use global variable `__memprof_histogram` in IR to set flag in runtime, and got rid of runtime flag. https://github.com/llvm/llvm-project/pull/94264 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits