[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:00 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:

Moved to PR: https://github.com/llvm/llvm-project/pull/100949. 

Changed commit comment as well

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


More information about the llvm-commits mailing list