diff options
author | yang-g <yangg@google.com> | 2017-11-21 17:24:50 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-11-21 17:24:50 -0800 |
commit | 704009a19869e9ec46e70c6d16bc5399e010fccc (patch) | |
tree | 3cdba6be341541d421b0f2f71079a948b762546a /build.yaml | |
parent | d88421a995bf473202ecf0650eb8339a3cea3e93 (diff) |
Enable check for use-after-dtor
Diffstat (limited to 'build.yaml')
-rw-r--r-- | build.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build.yaml b/build.yaml index 16e31eb588..4f6194ecc4 100644 --- a/build.yaml +++ b/build.yaml @@ -4915,8 +4915,8 @@ configs: msan: CC: clang CPPFLAGS: -O0 -fsanitize-coverage=edge -fsanitize=memory -fsanitize-memory-track-origins - -fno-omit-frame-pointer -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 - -Wno-unused-command-line-argument -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS + -fsanitize-memory-use-after-dtor -fno-omit-frame-pointer -DGTEST_HAS_TR1_TUPLE=0 + -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS CXX: clang++ DEFINES: NDEBUG LD: clang++ @@ -4924,6 +4924,8 @@ configs: -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,) LDXX: clang++ compile_the_world: true + test_environ: + MSAN_OPTIONS: poison_in_dtor=1 mutrace: CPPFLAGS: -O3 -fno-omit-frame-pointer DEFINES: NDEBUG |