[llvm-branch-commits] [llvm] [StaticDataLayout] Reconcile data hotness based on PGO counters and data access profiles (PR #163325)

Mingming Liu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Oct 14 16:41:24 PDT 2025


================
@@ -46,6 +50,12 @@ bool IsAnnotationOK(const GlobalVariable &GV) {
 } // namespace memprof
 } // namespace llvm
 
+#ifndef NDEBUG
+static StringRef debugPrintSectionPrefix(StringRef Prefix) {
----------------
mingmingl-llvm wrote:

done by making this a lambda function inside the caller.

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


More information about the llvm-branch-commits mailing list