https://github.com/tahonermann closed
https://github.com/llvm/llvm-project/pull/85300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3920,7 +3920,8 @@ void
MicrosoftMangleContextImpl::mangleThreadSafeStaticGuardVariable(
msvc_hashing_ostream MHO(Out);
MicrosoftCXXNameMangler Mangler(*this, MHO);
- Mangler.getStream() << "?$TSS" << GuardNum << '@';
+ Mangler.getStream() << "?";
+
https://github.com/tahonermann updated
https://github.com/llvm/llvm-project/pull/85300
>From 0547c32ff324efa2bf7152326a342022527339a3 Mon Sep 17 00:00:00 2001
From: Tom Honermann
Date: Thu, 14 Mar 2024 10:43:46 -0700
Subject: [PATCH] [clang][MSVC] Correct mangling of thread-safe static
https://github.com/zmodem edited https://github.com/llvm/llvm-project/pull/85300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3920,7 +3920,8 @@ void
MicrosoftMangleContextImpl::mangleThreadSafeStaticGuardVariable(
msvc_hashing_ostream MHO(Out);
MicrosoftCXXNameMangler Mangler(*this, MHO);
- Mangler.getStream() << "?$TSS" << GuardNum << '@';
+ Mangler.getStream() << "?";
+
https://github.com/zmodem approved this pull request.
lgtm, thanks!
Please include a "Fixes #83616" reference in the commit message.
https://github.com/llvm/llvm-project/pull/85300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/zmodem edited https://github.com/llvm/llvm-project/pull/85300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -47,6 +47,12 @@ C++ Specific Potentially Breaking Changes
ABI Changes in This Version
---
+- Fixed Microsoft name mangling of implicitly defined variables used for thread
+ safe static initialization of static local variables. This change resolves
@@ -47,6 +47,12 @@ C++ Specific Potentially Breaking Changes
ABI Changes in This Version
---
+- Fixed Microsoft name mangling of implicitly defined variables used for thread
+ safe static initialization of static local variables. This change resolves
https://github.com/tahonermann updated
https://github.com/llvm/llvm-project/pull/85300
>From 76c7940df70bc9676a7880a849d16b2ede611258 Mon Sep 17 00:00:00 2001
From: Tom Honermann
Date: Thu, 14 Mar 2024 10:43:46 -0700
Subject: [PATCH] [clang][MSVC] Correct mangling of thread-safe static
@@ -3920,7 +3920,8 @@ void
MicrosoftMangleContextImpl::mangleThreadSafeStaticGuardVariable(
msvc_hashing_ostream MHO(Out);
MicrosoftCXXNameMangler Mangler(*this, MHO);
- Mangler.getStream() << "?$TSS" << GuardNum << '@';
+ Mangler.getStream() << "?";
+
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Tom Honermann (tahonermann)
Changes
Static local variables with dynamic initializers depend on implicitly defined
guard variables to synchronize thread-safe initialization. These guard
variables may have external linkage and therefore
https://github.com/tahonermann created
https://github.com/llvm/llvm-project/pull/85300
Static local variables with dynamic initializers depend on implicitly defined
guard variables to synchronize thread-safe initialization. These guard
variables may have external linkage and therefore
13 matches
Mail list logo