[llvm] Reland "[llvm-readobj] Dump callgraph section info for ELF" (PR #176260)

Prabhu Rajasekaran via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 13 12:16:57 PST 2026


================
@@ -5320,6 +5341,133 @@ template <class ELFT> void GNUELFDumper<ELFT>::printCGProfile() {
   OS << "GNUStyle::printCGProfile not implemented\n";
 }
 
+template <class ELFT>
+bool ELFDumper<ELFT>::processCallGraphSection(const Elf_Shdr *CGSection) {
+  ArrayRef<uint8_t> Contents = cantFail(Obj.getSectionContents(*CGSection));
----------------
Prabhuk wrote:

No worries. Please see https://github.com/llvm/llvm-project/pull/176260#discussion_r2715977734

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


More information about the llvm-commits mailing list