[compiler-rt] [llvm] [ctxprof] Handle instrumenting functions with `musttail` calls (PR #135121)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 14 08:09:17 PDT 2025


================
@@ -272,6 +272,8 @@ void setupContext(ContextRoot *Root, GUID Guid, uint32_t NumCounters,
 
 ContextRoot *FunctionData::getOrAllocateContextRoot() {
   auto *Root = CtxRoot;
+  if (mustNotBeRoot(Root))
----------------
mtrofin wrote:

good point, thanks!

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


More information about the llvm-commits mailing list