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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 16:57:23 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",
----------------
teresajohnson wrote:

I wanted to be able to control them separately, just to control the volume of data that is emitted. -memprof-print-match-info alone already can emit a huge number of messages.

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


More information about the llvm-commits mailing list