platform_build/core/clang
Evgenii Stepanov 6708b6c99c Fix AddressSanitizer link order and multilib setup.
ASan runtime library (when using dynamic linking) must be the first
dependency of the main executable to achieve correct symbol
interposition. This matches how the clang driver works.

In multilib setup, ASan-RT name depends on the target arch:
  /system/lib/libclang_rt.asan-arm-android.so
  /system/lib64/libclang_rt.asan-arm64-android.so

We also set RPATH to /system/lib/asan or /system/lib64/asan
to have a place for ASan-only versions of system libraries.

Change-Id: I937d202077b6e433ba476c075d31be818b662d53
2015-05-12 13:40:29 -07:00
..
arm.mk Allow -mcpu=cortex-a15 for clang 2015-03-25 16:59:46 +01:00
arm64.mk Set default to Clang integrated assembler. 2014-10-22 09:21:53 -07:00
config.mk Fix AddressSanitizer link order and multilib setup. 2015-05-12 13:40:29 -07:00
HOST_x86.mk Use prebuilt libclang_rt.profile. 2015-04-01 19:03:22 -07:00
HOST_x86_64.mk Use prebuilt libclang_rt.profile. 2015-04-01 19:03:22 -07:00
HOST_x86_common.mk Set default to Clang integrated assembler. 2014-10-22 09:21:53 -07:00
mips.mk Change mips64 default to mips64r6 from mips64r2 2014-09-04 19:01:22 -07:00
mips64.mk Change mips64 default to mips64r6 from mips64r2 2014-09-04 19:01:22 -07:00
TARGET_arm.mk Fix AddressSanitizer link order and multilib setup. 2015-05-12 13:40:29 -07:00
TARGET_arm64.mk Fix AddressSanitizer link order and multilib setup. 2015-05-12 13:40:29 -07:00
TARGET_mips.mk Use prebuilt libclang_rt.profile. 2015-04-01 19:03:22 -07:00
TARGET_mips64.mk Use prebuilt libclang_rt.profile. 2015-04-01 19:03:22 -07:00
TARGET_x86.mk Use prebuilt libclang_rt.profile. 2015-04-01 19:03:22 -07:00
TARGET_x86_64.mk Use prebuilt libclang_rt.profile. 2015-04-01 19:03:22 -07:00
x86.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00
x86_64.mk Refactor llvm_config.mk and support the 2nd arch 2014-02-07 09:11:22 -08:00