[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
Mon Nov 24 10:35:05 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:

This probably needs to be under `Binary->usePseudoProbes()`

also please add a comment for this. 

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


More information about the llvm-commits mailing list