Intercept siglongjmp and _longjmp under "#if ASAN_INTERCEPT_*"

llvm-svn: 162103
This commit is contained in:
Alexander Potapenko
2012-08-17 16:27:38 +00:00
parent 546481170c
commit dffbb3b330

View File

@@ -47,8 +47,12 @@ const interpose_substitution substitutions[]
INTERPOSE_FUNCTION(strncpy),
INTERPOSE_FUNCTION(pthread_create),
INTERPOSE_FUNCTION(longjmp),
#if ASAN_INTERCEPT__LONGJMP
INTERPOSE_FUNCTION(_longjmp),
#endif
#if ASAN_INTERCEPT_SIGLONGJMP
INTERPOSE_FUNCTION(siglongjmp),
#endif
#if ASAN_INTERCEPT_STRDUP
INTERPOSE_FUNCTION(strdup),
#endif