[llvm] [NFC][llvm] Update call graph section's name. (PR #163429)

Prabhu Rajasekaran via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 07:52:33 PDT 2025


================
@@ -1171,8 +1172,8 @@ MCObjectFileInfo::getCallGraphSection(const MCSection &TextSec) const {
   }
 
   return Ctx->getELFSection(
-      ".callgraph", ELF::SHT_PROGBITS, Flags, 0, GroupName, true,
-      ElfSec.getUniqueID(),
+      ".llvm.callgraph", ELF::SHT_PROGBITS, Flags, 0, GroupName,
----------------
Prabhuk wrote:

Thank you. I'll make that change as a separate PR that's not NFC as discussed offline.

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


More information about the llvm-commits mailing list