[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:38:21 PST 2025


================
@@ -461,6 +471,11 @@ void ProfiledBinary::decodePseudoProbe(const ObjectFile *Obj) {
   } else {
     for (auto *F : ProfiledFunctions) {
       GuidFilter.insert(Function::getGUIDAssumingExternalLinkage(F->FuncName));
+      // Function may have different names in symbol table. Adding
----------------
HighW4y2H3ll wrote:

Updated the comment now, making it explicit that this is to solve the DWARF32 debug_str section exceeding 4GB, and causing an integer overflow..

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


More information about the llvm-commits mailing list