forked from OSchip/llvm-project
[compiler-rt] Don't force ASAN_HAS_EXCEPTIONS to be true for all builds
Summary: This value is already defaulted to true in asan_internal.h. Allow the value to be overriden in cases where exceptions are unavailable. Reviewers: kcc, samsonov, compnerd Subscribers: kubabrecka, dberris, beanz, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D24633 llvm-svn: 281746
This commit is contained in:
parent
27d2379b4e
commit
363bcc59a5
|
@ -37,9 +37,6 @@ include_directories(..)
|
|||
set(ASAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
|
||||
append_rtti_flag(OFF ASAN_CFLAGS)
|
||||
|
||||
set(ASAN_COMMON_DEFINITIONS
|
||||
ASAN_HAS_EXCEPTIONS=1)
|
||||
|
||||
set(ASAN_DYNAMIC_LINK_FLAGS)
|
||||
|
||||
if(ANDROID)
|
||||
|
|
Loading…
Reference in New Issue