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

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 21 13:37:02 PST 2025


================
@@ -1352,7 +1362,7 @@ void CSProfileGenerator::populateBoundarySamplesWithProbes(
         getFunctionProfileForLeafProbe(CtxKey, CallProbe);
     FunctionProfile.addBodySamples(CallProbe->getIndex(), 0, Count);
     FunctionProfile.addTotalSamples(Count);
-    StringRef CalleeName = getCalleeNameForAddress(TargetAddress);
+    StringRef CalleeName = getCalleeNameForAddress(TargetAddress, true);
----------------
HighW4y2H3ll wrote:

Fixed! I added `loadSymbolsFromPseudoProbe` after each `decodePseudoProbe` call, and looking up the pseudo probe name is now by default in `getCalleeNameForAddress`

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


More information about the llvm-commits mailing list