[llvm] [MemProf] Handle missing tail call frames (PR #75823)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 06:56:51 PST 2024


================
@@ -104,6 +114,12 @@ static cl::opt<std::string> MemProfImportSummary(
     cl::desc("Import summary to use for testing the ThinLTO backend via opt"),
     cl::Hidden);
 
+static cl::opt<unsigned>
+    TailCallSearchDepth("memprof-tail-call-search-depth", cl::init(5),
----------------
teresajohnson wrote:

I added testing of this option to one of the tests. It also provides a handy way to disable the tail call discovery if we encounter issues.

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


More information about the llvm-commits mailing list