diff options
author | Andrew Morrow <acm@mongodb.com> | 2016-04-20 11:47:33 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2016-04-20 15:52:49 -0400 |
commit | c60dea0181a621169f5130bd2fc291185421001a (patch) | |
tree | a4d2332ce4656a29bd1e28ded7d6bb6e43b5480d /SConstruct | |
parent | 52a64459cc444522f2fdf68538ce5787f4e2c5d7 (diff) | |
download | mongo-c60dea0181a621169f5130bd2fc291185421001a.tar.gz |
SERVER-23826 Run the dbtests under UBSAN
Also cleans up some handling around how undefined behavior
sanitizer finds the symbolizer, and suppresses some undefined
behavior in mozjs that prevented the dbtests from passing.
In addition, it was recognized that we can reduce the scope
where we inhibit UBSANs checks for misaligned access to only
wiredtiger, so do that too.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct index 15333ec25f5..eb4334f423c 100644 --- a/SConstruct +++ b/SConstruct @@ -2159,12 +2159,6 @@ def doConfigure(myenv): if using_ubsan: # By default, undefined behavior sanitizer doesn't stop on the first error. Make it so. AddToCCFLAGSIfSupported(myenv, "-fno-sanitize-recover") - # We don't currently target any architectures that require - # strict alignment, and we definitely have alignment - # issues in both the MMAPv1 and WT storage engines. We - # don't want to need to fix those errors before making - # UBSAN available. - AddToCCFLAGSIfSupported(myenv, "-fno-sanitize=alignment") if myenv.ToolchainIs('msvc') and optBuild: # http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx |