[all-commits] [llvm/llvm-project] 606e0b: [ARM64EC] Add support for function aliases on ARM6...

Jacek Caban via All-commits all-commits at lists.llvm.org
Mon Mar 31 03:56:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 606e0b4806b92481e8be35f4e0cfccd0074c6ee7
      https://github.com/llvm/llvm-project/commit/606e0b4806b92481e8be35f4e0cfccd0074c6ee7
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-03-31 (Mon, 31 Mar 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    A llvm/test/CodeGen/AArch64/arm64ec-alias.ll
    M llvm/test/CodeGen/AArch64/dllexport.ll

  Log Message:
  -----------
  [ARM64EC] Add support for function aliases on ARM64EC (#132295)

Required for mingw-w64, which uses the alias attribute in its CRT.

Follows ARM64EC mangling rules by mangling the alias symbol and emitting
an unmangled anti-dependency alias. Since metadata is not allowed on
GlobalAlias objects, extend arm64ec_unmangled_name to support multiple
unmangled names and attach the alias anti-dependency name to the target
function's metadata.



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