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

Commit b58de8f8 authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by android-build-merger
Browse files

Merge \\\"Sanitizer build tweaks.\\\" am: 24dc27e6 am: bd9f3f61

am: fd6304f5

Change-Id: I95c4d2cb618fffab1b7bb24d192c961a8a264ee7
parents 4071343c fd6304f5
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -80,17 +80,13 @@ endif
# sanitized static libraries. That's OK, because the executable
# always depends on the ASan runtime library, which defines these
# symbols.
ifneq ($(strip $(SANITIZE_TARGET)),)
ifneq ($(filter address thread,$(strip $(SANITIZE_TARGET))),)
  ifndef LOCAL_IS_HOST_MODULE
    ifeq ($(LOCAL_MODULE_CLASS),SHARED_LIBRARIES)
      ifeq ($(my_sanitize),)
        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