[compiler-rt] [llvm] [Memprof] Adds instrumentation support for memprof with histograms. (PR #100834)
Matthew Weingarten via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 28 16:16:01 PDT 2024
================
@@ -55,7 +55,7 @@ extern uptr kHighMemEnd; // Initialized in __memprof_init.
// computed by summing up all individual 1 byte counters. This can incur an
// accuracy penalty.
-#define HISTOGRAM_GRANULARITY 8U
+#define HISTOGRAM_GRANULARITY 8ULL
----------------
mattweingarten wrote:
I will keep the change in this PR for now until the other PR is merge, just so tests do not fail, but remove it before pushing.
https://github.com/llvm/llvm-project/pull/100834
More information about the llvm-commits
mailing list