tsan: Non-executable stack for hand-coded assembly

llvm-svn: 162112
This commit is contained in:
Dmitry Vyukov 2012-08-17 18:05:28 +00:00
parent a0b42cacbf
commit e2b5b5c4ac

View File

@ -69,3 +69,8 @@ __tsan_report_race_thunk:
pop %rcx
pop %rax
ret
#ifdef __linux__
/* We do not need executable stack. */
.section .note.GNU-stack,"",@progbits
#endif