[llvm] [llvm-readobj] Dump callgraph section info for ELF (PR #157499)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 00:32:17 PST 2025


================
@@ -8094,6 +8305,76 @@ template <class ELFT> void LLVMELFDumper<ELFT>::printCGProfile() {
   }
 }
 
+template <class ELFT> void LLVMELFDumper<ELFT>::printCallGraphInfo() {
+  if (!this->processCallGraphSection() || this->FuncCGInfos.empty()) {
----------------
jh7370 wrote:

Unnecessary braces.

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


More information about the llvm-commits mailing list