[all-commits] [llvm/llvm-project] 7c6a1c: [llvm][AsmPrinter] Emit call graph section

Prabhu Rajasekaran via All-commits all-commits at lists.llvm.org
Thu Jul 31 13:38:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c6a1c3d15bc41d6a5002a0a12837daa9fe824f0
      https://github.com/llvm/llvm-project/commit/7c6a1c3d15bc41d6a5002a0a12837daa9fe824f0
  Author: Prabhu Rajasekaran <prabhukr at google.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/MC/MCObjectFileInfo.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/MC/MCObjectFileInfo.cpp
    A llvm/test/CodeGen/X86/call-graph-section-assembly.ll
    A llvm/test/CodeGen/X86/call-graph-section-tailcall.ll
    A llvm/test/CodeGen/X86/call-graph-section.ll
    A llvm/test/MC/X86/verify-callgraph-section.s

  Log Message:
  -----------
  [llvm][AsmPrinter] Emit call graph section

Collect the necessary information for constructing the call graph
section, and emit to .callgraph section of the binary.

MD5 hash of the callee_type metadata string is used as the numerical
type id emitted.

Reviewers: ilovepi

Reviewed By: ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/87576



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list