aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-24 23:52:43 -0500
committerJack Lloyd <[email protected]>2015-12-24 23:52:43 -0500
commit20e7a430425f20c939e872c932c29330f8db5422 (patch)
treeeedb0992dcd5916a2a3dec7b1236e12f625e467e /src/build-data
parent9c504c706eec7fd96f728d1da28f6661a3d640b8 (diff)
Fix a few clang warnings. Set clang sanitizer flags
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/clang.txt1
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"