aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-01-22 11:16:57 -0500
committerJack Lloyd <[email protected]>2019-01-22 11:16:57 -0500
commitaf3611850db10cb1a7cffabbe1f9692c7aeb6f85 (patch)
tree09018a741edcc003978a56850351544ff6664aba /src/build-data/cc
parent8437eb4f00b3c68073be7a1ced82e355d15abe27 (diff)
Fix XLC sanitizers
Broken by 22b1889
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/xlc.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/cc/xlc.txt b/src/build-data/cc/xlc.txt
index fa3bb85f0..a54b7f91f 100644
--- a/src/build-data/cc/xlc.txt
+++ b/src/build-data/cc/xlc.txt
@@ -18,7 +18,9 @@ default -> "$(CXX) -qmkshrobj"
</so_link_commands>
<sanitizers>
-default -> "-qcheck=all"
+default -> address
+
+all -> "-qcheck=all"
address -> "-qcheck=bounds:stackclobber:unset"
undefined -> "-qcheck=nullptr:divzero"
</sanitizers>