aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-04-27 09:58:21 -0700
committerDan Albert <danalbert@google.com>2015-04-27 09:58:21 -0700
commit5032047b38dd7be47aa68bd266523d74082e3d20 (patch)
tree4d47dbd9c1d5f833d376495092b891444acd3dcf
parent17c39919b1543d0e48bc788605c4361e47d4d85a (diff)
downloadv8-5032047b38dd7be47aa68bd266523d74082e3d20.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 0826c60d6..d73a482c0 100644
--- a/tools/gyp/v8_base.host.linux-arm.mk
+++ b/tools/gyp/v8_base.host.linux-arm.mk
@@ -481,4 +481,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)