[clang] 197a3d1 - Fix test failure from e3b10525b489b604d6a1e540be78bda80afb5868
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 17 06:22:01 PDT 2021
Author: Erich Keane
Date: 2021-09-17T06:21:55-07:00
New Revision: 197a3d183b8b2a8452d816a1b0fcfc1093ef76ab
URL: https://github.com/llvm/llvm-project/commit/197a3d183b8b2a8452d816a1b0fcfc1093ef76ab
DIFF: https://github.com/llvm/llvm-project/commit/197a3d183b8b2a8452d816a1b0fcfc1093ef76ab.diff
LOG: Fix test failure from e3b10525b489b604d6a1e540be78bda80afb5868
Seemingly, names in anonymous namespaces are ALWAYS given the unique
internal linkage name on windows, and I was not aware of this when I put
the names in my test! Replaced them with a wildcard.
Added:
Modified:
clang/test/CodeGenCXX/multi-versioning-internal-linkage.cpp
Removed:
################################################################################
diff --git a/clang/test/CodeGenCXX/multi-versioning-internal-linkage.cpp b/clang/test/CodeGenCXX/multi-versioning-internal-linkage.cpp
index 246599a591a7..c835a8f1624b 100644
--- a/clang/test/CodeGenCXX/multi-versioning-internal-linkage.cpp
+++ b/clang/test/CodeGenCXX/multi-versioning-internal-linkage.cpp
@@ -42,8 +42,8 @@ int usage() {
// LINUX: define internal i32 ()* @_ZL15static_dispatchv.resolver()
// WINDOWS: define internal i32 @"?static_dispatch@@YAHXZ"()
// LINUX: define internal i32 ()* @_ZN12_GLOBAL__N_113anon_dispatchEv.resolver()
-// WINDOWS: define internal i32 @"?anon_dispatch@?A0x7F72A7FB@@YAHXZ"()
+// WINDOWS: define internal i32 @"?anon_dispatch{{.*}}@@YAHXZ"()
// LINUX: define internal i32 ()* @_ZL13static_targetv.resolver()
// WINDOWS: define internal i32 @"?static_target@@YAHXZ.resolver"()
// LINUX: define internal i32 ()* @_ZN12_GLOBAL__N_111anon_targetEv.resolver()
-// WINDOWS: define internal i32 @"?anon_target@?A0x7F72A7FB@@YAHXZ.resolver"()
+// WINDOWS: define internal i32 @"?anon_target{{.*}}@@YAHXZ.resolver"()
More information about the cfe-commits
mailing list