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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 09:27:28 PST 2024


================
@@ -1121,7 +1121,8 @@ void AArch64AsmPrinter::emitFunctionEntryLabel() {
     TS->emitDirectiveVariantPCS(CurrentFnSym);
   }
 
-  if (TM.getTargetTriple().isWindowsArm64EC()) {
+  if (TM.getTargetTriple().isWindowsArm64EC() &&
+      !MF->getFunction().hasInternalLinkage()) {
----------------
efriedma-quic wrote:

hasLocalLinkage()

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


More information about the llvm-commits mailing list