aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-04-27 09:58:21 -0700
committerTorne (Richard Coles) <torne@google.com>2015-05-27 12:45:57 +0100
commitba78c2193e5a730a738e61bc9dc8c9ff06f8e8ff (patch)
tree26b81e55d47298231e5e379f89874b59c0682074
parent9d5e8c8ad6a9bc199e5df0d200dac6704f5bf33b (diff)
downloadv8-ba78c2193e5a730a738e61bc9dc8c9ff06f8e8ff.tar.gz
Recover from exponent shift ubsan errors.
These will have to be fixed upstream, but for now this lets us get through a build with ubsan turned on. Change-Id: I337c8c60efdd06cecbfcaec8eaf8e3be01fbfc8a
-rw-r--r--tools/gyp/v8_base.host.linux-arm.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gyp/v8_base.host.linux-arm.mk b/tools/gyp/v8_base.host.linux-arm.mk
index 840dd4698..fa9ceba37 100644
--- a/tools/gyp/v8_base.host.linux-arm.mk
+++ b/tools/gyp/v8_base.host.linux-arm.mk
@@ -478,4 +478,6 @@ gyp_all_modules: v8_tools_gyp_v8_base_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
.PHONY: v8_base
v8_base: v8_tools_gyp_v8_base_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
+LOCAL_SANITIZE_RECOVER := shift-exponent
+
include $(BUILD_HOST_STATIC_LIBRARY)