Merge branch 'remove_optimization' into one_module
This commit is contained in:
commit
a6b6ae43db
@ -26,10 +26,10 @@ option(SANITIZE_ADDRESS "Enable AddressSanitizer for sanitized targets." Off)
|
||||
|
||||
set(FLAG_CANDIDATES
|
||||
# Clang 3.2+ use this version
|
||||
"-g -O1 -fsanitize=address"
|
||||
"-g -fsanitize=address"
|
||||
|
||||
# Older deprecated flag for ASan
|
||||
"-g -O1 -faddress-sanitizer"
|
||||
"-g -faddress-sanitizer"
|
||||
)
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
option(SANITIZE_MEMORY "Enable MemorySanitizer for sanitized targets." Off)
|
||||
|
||||
set(FLAG_CANDIDATES
|
||||
"-g -O1 -fsanitize=memory"
|
||||
"-g -fsanitize=memory"
|
||||
)
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
option(SANITIZE_THREAD "Enable ThreadSanitizer for sanitized targets." Off)
|
||||
|
||||
set(FLAG_CANDIDATES
|
||||
"-g -O1 -fsanitize=thread"
|
||||
"-g -fsanitize=thread"
|
||||
)
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ option(SANITIZE_UNDEFINED
|
||||
"Enable UndefinedBehaviorSanitizer for sanitized targets." Off)
|
||||
|
||||
set(FLAG_CANDIDATES
|
||||
"-g -O1 -fsanitize=undefined"
|
||||
"-g -fsanitize=undefined"
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user