[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
Thu Oct 16 11:16:49 PDT 2025


================
@@ -820,6 +822,48 @@ void ProfiledBinary::populateSymbolAddressList(const ObjectFile *Obj) {
   }
 }
 
+void ProfiledBinary::populateSymbolsFromElf(const ObjectFile *Obj) {
----------------
wlei-llvm wrote:

Good point! it does support for non-ELF format, e.g. https://github.com/llvm/llvm-project/pull/158207, then it may break other format. 

cc @HaohaiWen 

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


More information about the llvm-commits mailing list