summaryrefslogtreecommitdiff
path: root/libcxx/include/__thread
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2025-05-20 09:05:48 +0200
committerGitHub <noreply@github.com>2025-05-20 09:05:48 +0200
commitf73287e623a6c2e4a3485832bc3e10860cd26eb5 (patch)
tree8b4cd3d615ae4e3cd8303dfc23999805e8a76199 /libcxx/include/__thread
parentf8e2e709f079f5aafc9d8cd67ee9401910d43fc1 (diff)
[libc++] Make ABI annotations explicit for windows-specific code (#140507)
This doesn't show up in the CI, since we don't have abilists for windows. I'm also not sure whether we want them, so I don't think we can easily test this change.
Diffstat (limited to 'libcxx/include/__thread')
-rw-r--r--libcxx/include/__thread/support/windows.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/__thread/support/windows.h b/libcxx/include/__thread/support/windows.h
index 5dc4fa14f45b..9e2d62ec7205 100644
--- a/libcxx/include/__thread/support/windows.h
+++ b/libcxx/include/__thread/support/windows.h
@@ -19,6 +19,7 @@
#endif
_LIBCPP_BEGIN_NAMESPACE_STD
+_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
using __libcpp_timespec_t = ::timespec;
@@ -128,6 +129,7 @@ _LIBCPP_EXPORTED_FROM_ABI void* __libcpp_tls_get(__libcpp_tls_key __key);
_LIBCPP_EXPORTED_FROM_ABI int __libcpp_tls_set(__libcpp_tls_key __key, void* __p);
+_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP___THREAD_SUPPORT_WINDOWS_H