Enabled debug symbols for ASan.
This commit is contained in:
parent
584f137e70
commit
88e75c6b03
@ -30,10 +30,10 @@ option(SANITIZE_ADDRESS "Selects wheter Address Sanitizer will be enabled for
|
|||||||
|
|
||||||
set(ASAN_FLAG_CANDIDATES
|
set(ASAN_FLAG_CANDIDATES
|
||||||
# Clang 3.2+ use this version
|
# Clang 3.2+ use this version
|
||||||
"-fsanitize=address"
|
"-g -O0 -fsanitize=address"
|
||||||
|
|
||||||
# Older deprecated flag for ASan
|
# Older deprecated flag for ASan
|
||||||
"-faddress-sanitizer"
|
"-g -O0 -faddress-sanitizer"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user