diff options
author | Jack Lloyd <[email protected]> | 2015-12-24 23:52:43 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-24 23:52:43 -0500 |
commit | 20e7a430425f20c939e872c932c29330f8db5422 (patch) | |
tree | eedb0992dcd5916a2a3dec7b1236e12f625e467e /src/build-data | |
parent | 9c504c706eec7fd96f728d1da28f6661a3d640b8 (diff) |
Fix a few clang warnings. Set clang sanitizer flags
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/cc/clang.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index b290bbc13..3382f5d65 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -16,6 +16,7 @@ maintainer_warning_flags "-Qunused-arguments -Werror -Wno-error=unused-parameter compile_flags "-c" debug_info_flags "-g" optimization_flags "-O3" +sanitizer_flags "-fsanitize=address,undefined -fsanitize-coverage=edge,indirect-calls,8bit-counters -fno-sanitize-recover=undefined" shared_flags "-fPIC" coverage_flags "--coverage" |