[llvm] [MemProf] Allow cloning of callsites in recursive cycles (PR #121985)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 13:14:43 PST 2025
================
@@ -122,6 +122,20 @@ static cl::opt<unsigned>
cl::desc("Max depth to recursively search for missing "
"frames through tail calls."));
+// By default enable cloning of callsites involved with recursive cycles
+static cl::opt<bool> SkipRecursiveCallsites(
+ "memprof-skip-recursive-callsites", cl::init(false), cl::Hidden,
----------------
snehasish wrote:
Can we use a flag with a positive intent here and below? It's easier to read and reason about.
https://github.com/llvm/llvm-project/pull/121985
More information about the llvm-commits
mailing list