[llvm] [MemProf] Add option to print function GUIDs during matching (PR #170946)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 16:42:03 PST 2025


================
@@ -62,6 +62,11 @@ static cl::opt<bool>
                                      "context in this module's profiles"),
                             cl::Hidden, cl::init(false));
 
+static cl::opt<bool>
+    PrintFunctionGuids("memprof-function-guids",
----------------
snehasish wrote:

Is the useful only by itself or typically when `memprof-print-match-info` is enabled? I'm wondering if we can just condition on the print match info instead of adding a new flag.

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


More information about the llvm-commits mailing list