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

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 13:59:33 PDT 2025


================
@@ -65,6 +65,13 @@ static cl::list<std::string> DisassembleFunctions(
              "names only. Only work with show-disassembly-only"),
     cl::cat(ProfGenCategory));
 
+static cl::opt<bool>
+    LoadFunctionFromSymbol("load-function-from-symbol", cl::init(true),
----------------
WenleiHe wrote:

@wlei-llvm somehow i remember we had something like that before (long time ago)? did we remove the symbol table loading code in the past? 

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


More information about the llvm-commits mailing list