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:
parent
f737a12098
commit
4b396e47eb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue