[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-09 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs closed https://github.com/llvm/llvm-project/pull/81194 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-09 Thread via cfe-commits
https://github.com/DanielKristofKiss approved this pull request. Thanks! https://github.com/llvm/llvm-project/pull/81194 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-09 Thread Alexandros Lamprineas via cfe-commits
https://github.com/labrinea approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/81194 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-09 Thread Alexandros Lamprineas via cfe-commits
labrinea wrote: > Looks like we've done something similar for `target_clones` to fix a linker > issue: > [cee5b87](https://github.com/llvm/llvm-project/commit/cee5b8777fa98312b05bf8aa81554910a8f867c5). > What is the motive in this case? Ah, I just saw that it fixes https://github.com/llvm/

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-09 Thread Alexandros Lamprineas via cfe-commits
labrinea wrote: Looks like we've done something similar for `target_clones` to fix a linker issue: https://github.com/llvm/llvm-project/commit/cee5b8777fa98312b05bf8aa81554910a8f867c5. What is the motive in this case? https://github.com/llvm/llvm-project/pull/81194 ___

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs updated https://github.com/llvm/llvm-project/pull/81194 >From 92aef5a078583f69cede47374e2b97de865c5c5d Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Thu, 8 Feb 2024 13:56:50 -0800 Subject: [PATCH 1/4] [clang][fmv] Drop .ifunc from target_version's entrypoint's ma

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread via cfe-commits
@@ -4393,7 +4394,7 @@ llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) { // a separate resolver). std::string ResolverName = MangledName; if (getTarget().supportsIFunc()) { -if (!FD->isTargetClonesMultiVersion()) +if (!FD->isTargetClo

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread Jon Roelofs via cfe-commits
@@ -4393,7 +4394,7 @@ llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) { // a separate resolver). std::string ResolverName = MangledName; if (getTarget().supportsIFunc()) { -if (!FD->isTargetClonesMultiVersion()) +if (!FD->isTargetClo

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread via cfe-commits
@@ -4393,7 +4394,7 @@ llvm::Constant *CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) { // a separate resolver). std::string ResolverName = MangledName; if (getTarget().supportsIFunc()) { -if (!FD->isTargetClonesMultiVersion()) +if (!FD->isTargetClo

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs updated https://github.com/llvm/llvm-project/pull/81194 >From 92aef5a078583f69cede47374e2b97de865c5c5d Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Thu, 8 Feb 2024 13:56:50 -0800 Subject: [PATCH 1/3] [clang][fmv] Drop .ifunc from target_version's entrypoint's ma

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs updated https://github.com/llvm/llvm-project/pull/81194 >From 92aef5a078583f69cede47374e2b97de865c5c5d Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Thu, 8 Feb 2024 13:56:50 -0800 Subject: [PATCH 1/2] [clang][fmv] Drop .ifunc from target_version's entrypoint's ma

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff ff8c865838b46d0202963b816fbed50aaf96a7f4 92aef5a078583f69cede47374e2b97de865c5c5d --

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jon Roelofs (jroelofs) Changes Fixes: https://github.com/llvm/llvm-project/issues/81043 --- Full diff: https://github.com/llvm/llvm-project/pull/81194.diff 5 Files Affected: - (modified) clang/include/clang/AST/Decl.h (+4) - (modified)

[clang] [clang][fmv] Drop .ifunc from target_version's entrypoint's mangling (PR #81194)

2024-02-08 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs created https://github.com/llvm/llvm-project/pull/81194 Fixes: https://github.com/llvm/llvm-project/issues/81043 >From 92aef5a078583f69cede47374e2b97de865c5c5d Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Thu, 8 Feb 2024 13:56:50 -0800 Subject: [PATCH] [clang][f