Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b396e47 authored by Evgenii Stepanov's avatar Evgenii Stepanov
Browse files

Disable relocation packer in SANITIZE_TARGET mode.

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

Change-Id: I151c3f0eb7e2a4c92a64192a0b43ac17646eab5c
parent f737a120
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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