Disable relocation packer in SANITIZE_TARGET mode.

Workaround for
https://code.google.com/p/address-sanitizer/issues/detail?id=387.

Change-Id: I151c3f0eb7e2a4c92a64192a0b43ac17646eab5c
This commit is contained in:
Evgenii Stepanov 2015-07-20 16:32:53 -07:00
parent f737a12098
commit 4b396e47eb
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ ifneq ($(strip $(SANITIZE_TARGET)),)
my_allow_undefined_symbols := true
endif
endif
# Workaround for a bug in AddressSanitizer that breaks stack unwinding.
# https://code.google.com/p/address-sanitizer/issues/detail?id=387
# Revert when external/compiler-rt is updated past r236014.
LOCAL_PACK_MODULE_RELOCATIONS := false
endif
endif