Skip to content

Commit

Permalink
Enabled debug symbols for ASan.
Browse files Browse the repository at this point in the history
  • Loading branch information
alehaa committed Mar 8, 2016
1 parent 584f137 commit 88e75c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindASan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ option(SANITIZE_ADDRESS "Selects wheter Address Sanitizer will be enabled for

set(ASAN_FLAG_CANDIDATES
# Clang 3.2+ use this version
"-fsanitize=address"
"-g -O0 -fsanitize=address"

# Older deprecated flag for ASan
"-faddress-sanitizer"
"-g -O0 -faddress-sanitizer"
)


Expand Down

0 comments on commit 88e75c6

Please sign in to comment.