Skip to content

Commit 898c116

Browse files
committed
[tsan] Avoid ALIGNED in tsan_platform_mac.cpp. NFC
1 parent 8393ea5 commit 898c116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
namespace __tsan {
4747

4848
#if !SANITIZER_GO
49-
static char main_thread_state[sizeof(ThreadState)] ALIGNED(
50-
SANITIZER_CACHE_LINE_SIZE);
49+
alignas(SANITIZER_CACHE_LINE_SIZE) static char main_thread_state[sizeof(
50+
ThreadState)];
5151
static ThreadState *dead_thread_state;
5252
static pthread_key_t thread_state_key;
5353

0 commit comments

Comments
 (0)