Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 5fe64c3

Browse files
committed
Universally disable nodebug type in __config and do a version bump
1 parent 10105b2 commit 5fe64c3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

include/cuda/std/detail/__config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
#ifndef _LIBCUDACXX_NO_RTTI
4444
#define _LIBCUDACXX_NO_RTTI
4545
#endif
46+
// Disable the nodebug type
47+
#ifndef _LIBCUDACXX_NODEBUG_TYPE
48+
#define _LIBCUDACXX_NODEBUG_TYPE
49+
#endif
4650
#define _LIBCUDACXX_HAS_NO_INT128
4751
#define _LIBCUDACXX_FREESTANDING
4852
#define _LIBCUDACXX_HAS_NO_THREAD_CONTENTION_TABLE

libcxx/include/__config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ _LIBCUDACXX_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container(
16741674

16751675
#ifndef _LIBCUDACXX_NODEBUG_TYPE
16761676
#if __has_attribute(__nodebug__) && \
1677-
(defined(_LIBCUDACXX_CLANG_VER) && _LIBCUDACXX_CLANG_VER >= 1200)
1677+
(defined(_LIBCUDACXX_CLANG_VER) && _LIBCUDACXX_CLANG_VER >= 1210)
16781678
#define _LIBCUDACXX_NODEBUG_TYPE __attribute__((nodebug))
16791679
#else
16801680
#define _LIBCUDACXX_NODEBUG_TYPE

0 commit comments

Comments
 (0)