[all-commits] [llvm/llvm-project] 799e1d: [IR] Use EXPORTAS for ARM64EC mangled symbols with...

Jacek Caban via All-commits all-commits at lists.llvm.org
Sat Mar 30 08:49:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 799e1d6a128438268bbf64b8c30ad3722f55524b
      https://github.com/llvm/llvm-project/commit/799e1d6a128438268bbf64b8c30ad3722f55524b
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-03-30 (Sat, 30 Mar 2024)

  Changed paths:
    M llvm/lib/IR/Mangler.cpp
    M llvm/test/CodeGen/AArch64/dllexport.ll

  Log Message:
  -----------
  [IR] Use EXPORTAS for ARM64EC mangled symbols with dllexport attribute. (#81940)

We currently just use mangled name. This works fine, because linker
should detect that and demangle it for the export table. However, on
MSVC, the compiler is more specific and passes demangled name as well,
with EXPORTAS. This PR aims to match that. MSVC doesn't use quotes in
this case, so I added '#' to the list of characters that don't need it.



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