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

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Mon Apr 15 15:59:17 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4056cc29dfd3cd40f481b499936f15bc85abd75f
      https://github.com/llvm/llvm-project/commit/4056cc29dfd3cd40f481b499936f15bc85abd75f
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2024-04-15 (Mon, 15 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