forked from OSchip/llvm-project
parent
bc7a86b98d
commit
55aae51325
|
@ -17,7 +17,12 @@ include_directories(..)
|
|||
|
||||
set(UBSAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
|
||||
append_no_rtti_flag(UBSAN_CFLAGS)
|
||||
append_list_if(COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -Wglobal-constructors
|
||||
UBSAN_CFLAGS)
|
||||
|
||||
set(UBSAN_CXXFLAGS ${SANITIZER_COMMON_CFLAGS})
|
||||
append_list_if(COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -Wglobal-constructors
|
||||
UBSAN_CXXFLAGS)
|
||||
|
||||
add_custom_target(ubsan)
|
||||
|
||||
|
|
Loading…
Reference in New Issue