commit | 4b396e47eb141e8959038ff7159c4ce403ea9b7d | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Mon Jul 20 16:32:53 2015 -0700 |
committer | Evgenii Stepanov <eugenis@google.com> | Mon Jul 20 16:32:53 2015 -0700 |
tree | 7b17c19c7006bda5abf82926a67f39c753a63077 | |
parent | f737a1209841aee5ac76e39677d8ddba0115cae2 [diff] |
Disable relocation packer in SANITIZE_TARGET mode. Workaround for https://code.google.com/p/address-sanitizer/issues/detail?id=387. Change-Id: I151c3f0eb7e2a4c92a64192a0b43ac17646eab5c
diff --git a/core/config_sanitizers.mk b/core/config_sanitizers.mk index c28fff1..f71996d 100644 --- a/core/config_sanitizers.mk +++ b/core/config_sanitizers.mk
@@ -45,6 +45,10 @@ 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