[all-commits] [llvm/llvm-project] a63dc3: [clang][CodeGen] Construct function type for callg...

Prabhu Rajasekaran via All-commits all-commits at lists.llvm.org
Wed Sep 16 12:12:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a63dc3288d2b8e178f55590797732dba540fac7d
      https://github.com/llvm/llvm-project/commit/a63dc3288d2b8e178f55590797732dba540fac7d
  Author: Prabhu Rajasekaran <prabhukr at google.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGen/call-graph-section-definition-noprototype.c
    A llvm/test/Linker/callgraph-section-noprototype.ll

  Log Message:
  -----------
  [clang][CodeGen] Construct function type for callgraph from function definition (#212863)

When -fexperimental-call-graph-section is enabled, for unprototyped
function
definitions (such as C89 parameterless declarations or K&R definitions)
reconstruct their prototype from the parameter declarations in the
definition AST (applying default argument promotions to parameters).

Assisted by: Gemini



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