[PATCH] D139367: [CSSPGO][llvm-profgen] A tail call tracker to infer missing tail call frames.

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 15:37:29 PST 2022


wlei added inline comments.


================
Comment at: llvm/tools/llvm-profgen/ProfiledBinary.cpp:460
                  FunctionSamples::getCanonicalFnName(Symbols[SI].Name));
-
+  FuncRange *FRange = findFuncRange(StartAddress);
   StringRef SymbolName =
----------------
Nit: `findFuncRange` is also called inside `setIsFuncEntry`, perhaps we could hoist and reuse that, this should save some running time.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139367/new/

https://reviews.llvm.org/D139367



More information about the llvm-commits mailing list