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

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 16:36:30 PDT 2025


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

Seems like this is intended to work for ELF only, so it needs to be conditional on the object format being ELF, at least.

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


More information about the llvm-commits mailing list