Форматирование кода
This commit is contained in:
parent
9b4aec096e
commit
69437cd645
@ -31,7 +31,7 @@ set(FLAG_CANDIDATES
|
|||||||
|
|
||||||
# Older deprecated flag for ASan
|
# Older deprecated flag for ASan
|
||||||
"-g -faddress-sanitizer"
|
"-g -faddress-sanitizer"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if (SANITIZE_ADDRESS AND (SANITIZE_THREAD OR SANITIZE_MEMORY))
|
if (SANITIZE_ADDRESS AND (SANITIZE_THREAD OR SANITIZE_MEMORY))
|
||||||
|
@ -28,7 +28,7 @@ option(SANITIZE_LEAK
|
|||||||
|
|
||||||
set(FLAG_CANDIDATES
|
set(FLAG_CANDIDATES
|
||||||
"-g -fsanitize=leak"
|
"-g -fsanitize=leak"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
include(sanitize-helpers)
|
include(sanitize-helpers)
|
||||||
|
@ -26,7 +26,7 @@ option(SANITIZE_MEMORY "Enable MemorySanitizer for sanitized targets." Off)
|
|||||||
|
|
||||||
set(FLAG_CANDIDATES
|
set(FLAG_CANDIDATES
|
||||||
"-g -fsanitize=memory"
|
"-g -fsanitize=memory"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
include(sanitize-helpers)
|
include(sanitize-helpers)
|
||||||
|
@ -71,7 +71,7 @@ find_package_handle_standard_args(
|
|||||||
FOUND_VAR Sanitizers_FOUND
|
FOUND_VAR Sanitizers_FOUND
|
||||||
REQUIRED_VARS Sanitizers_COMPONENTS
|
REQUIRED_VARS Sanitizers_COMPONENTS
|
||||||
HANDLE_COMPONENTS
|
HANDLE_COMPONENTS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
function(sanitizer_add_blacklist_file FILE)
|
function(sanitizer_add_blacklist_file FILE)
|
||||||
|
@ -26,7 +26,7 @@ option(SANITIZE_THREAD "Enable ThreadSanitizer for sanitized targets." Off)
|
|||||||
|
|
||||||
set(FLAG_CANDIDATES
|
set(FLAG_CANDIDATES
|
||||||
"-g -fsanitize=thread"
|
"-g -fsanitize=thread"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# ThreadSanitizer is not compatible with MemorySanitizer.
|
# ThreadSanitizer is not compatible with MemorySanitizer.
|
||||||
|
@ -27,7 +27,7 @@ option(SANITIZE_UNDEFINED
|
|||||||
|
|
||||||
set(FLAG_CANDIDATES
|
set(FLAG_CANDIDATES
|
||||||
"-g -fsanitize=undefined"
|
"-g -fsanitize=undefined"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
include(sanitize-helpers)
|
include(sanitize-helpers)
|
||||||
|
Loading…
Reference in New Issue
Block a user