diff --git a/cc/sanitize.go b/cc/sanitize.go index 93d4b4c54..324e6ddd6 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -43,6 +43,7 @@ var ( "-fno-omit-frame-pointer", "-Wno-frame-larger-than=", "-fsanitize-hwaddress-abi=platform", + "-mllvm", "-hwasan-use-after-scope=1", } // ThinLTO performs codegen during link time, thus these flags need to