Skip to content

Commit b861a77

Browse files
committed
#21 call asan on setjmp
1 parent 00599c2 commit b861a77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/thrlua.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ struct lua_longjmp {
223223
** intercept them and properly unpoison skipped stack frames.
224224
** The custom asm versions bypass ASAN and cause false positives.
225225
*/
226-
#if defined(__SANITIZE_ADDRESS__) || (defined(__has_feature) && __has_feature(address_sanitizer))
226+
#if defined(__SANITIZE_ADDRESS__)
227227
# define lua_do_setjmp setjmp
228228
# define lua_do_longjmp longjmp
229229
#elif LUA_ARCH_X86_64

0 commit comments

Comments
 (0)