[all-commits] [llvm/llvm-project] 9306ef: [clang][alias|ifunc]: Add a diagnostic for mangled...

Dhruv Chawla via All-commits all-commits at lists.llvm.org
Mon Mar 6 08:59:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9306ef9750b7a319d59f6d3e4977e01e39b8f161
      https://github.com/llvm/llvm-project/commit/9306ef9750b7a319d59f6d3e4977e01e39b8f161
  Author: Dhruv Chawla <dhruv263.dc at gmail.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/alias.cpp
    M clang/test/CodeGen/attr-ifunc.c
    A clang/test/CodeGen/attr-ifunc.cpp
    M clang/test/Sema/attr-alias-elf.c
    M clang/test/SemaCXX/externc-ifunc-resolver.cpp

  Log Message:
  -----------
  [clang][alias|ifunc]: Add a diagnostic for mangled names

When an alias or ifunc attribute refers to a function name that is
mangled, a diagnostic is emitted to suggest the mangled name as a
replacement for the given function name for every matching name in the
current TU.

Fixes #59164

Differential Revision: https://reviews.llvm.org/D143803




More information about the All-commits mailing list