[AArch64][Clang] Fix linker error for function multiversioning (#74358)
commit1be0d9d7d88a9bdabe6ef4d81720ddf4cf6f71c1
authorDani <DanielKristofKiss@users.noreply.github.com>
Mon, 22 Jan 2024 18:55:16 +0000 (22 19:55 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Jan 2024 18:55:16 +0000 (22 19:55 +0100)
tree1e38f7032a4e93b2e2f7422bf69de7f6c6e81e04
parent16d2583254284611843b2517c8e9f9d6efe8c627
[AArch64][Clang] Fix linker error for function multiversioning (#74358)

AArch64 part of https://github.com/llvm/llvm-project/pull/71706.

Default version is now mangled with .default.
Resolver for the TargetVersion need to be emitted from the
CodeGenModule::EmitMultiVersionFunctionDefinition.
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGen/attr-target-clones-aarch64.c
clang/test/CodeGen/attr-target-version.c
clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
clang/test/CodeGenCXX/attr-target-version.cpp