[compiler-rt] [llvm] [Memprof] Adds instrumentation support for memprof with histograms. (PR #100834)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 18:00:37 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
----------------
teresajohnson wrote:

This should probably go in as a separate PR since I think it affects both versions?

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


More information about the llvm-commits mailing list