[llvm] [llvm-profgen] Loading binary functions from .symtab when DWARF info is incomplete (PR #163654)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 21 15:24:09 PST 2025


================
@@ -732,6 +735,10 @@ ProfileGeneratorBase::getCalleeNameForAddress(uint64_t TargetAddress) {
   if (!FRange || !FRange->IsFuncEntry)
     return StringRef();
 
+  auto FuncName = Binary->findPseudoProbeName(FRange->Func);
----------------
wlei-llvm wrote:

Simliar to here, if we can just fix up the FuncName field, we don't need the extra lookup.

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


More information about the llvm-commits mailing list