[llvm] [AArch64] Mangle names of all ARM64EC functions with entry thunks (PR #80996)

Billy Laws via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 14:55:23 PST 2024


================
@@ -710,7 +710,7 @@ bool AArch64Arm64ECCallLowering::processFunction(
   // name (emitting the definition) can grab it from the metadata.
   //
   // FIXME: Handle functions with weak linkage?
-  if (F.hasExternalLinkage() || F.hasWeakLinkage() || F.hasLinkOnceLinkage()) {
+  if (!F.hasLocalLinkage() || F.hasAddressTaken()) {
----------------
bylaws wrote:

I thought of that, but I felt it was worth keeping that metadata around in case it came in useful sometimes in the future.

https://github.com/llvm/llvm-project/pull/80996


More information about the llvm-commits mailing list