[all-commits] [llvm/llvm-project] 43ba56: Prepend all library intrinsics with `#` when build...

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Fri Apr 5 12:07:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43ba568daac098b286e1c1207deadd1f59d56cd7
      https://github.com/llvm/llvm-project/commit/43ba568daac098b286e1c1207deadd1f59d56cd7
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h

  Log Message:
  -----------
  Prepend all library intrinsics with `#` when building for Arm64EC (#87542)

While attempting to build some Rust code, I was getting linker errors
due to missing functions that are implemented in `compiler-rt`. Turns
out that when `compiler-rt` is built for Arm64EC, all its function names
are mangled with the leading `#`.

This change removes the hard-coded list of library-implemented
intrinsics to mangle for Arm64EC, and instead assumes that they all must
be mangled.



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