Add libclang_rt.asan-mips[64]-android.so
Add the clang asan runtime libraries to the mips and mips64 toolchain
definitions. Fixes missing symbol build errors on asan_test.
Change-Id: I10c46599af2c7758f4726814920b8881644c6f97
diff --git a/cc/mips64_device.go b/cc/mips64_device.go
index 7cab09b..04e31a9 100644
--- a/cc/mips64_device.go
+++ b/cc/mips64_device.go
@@ -186,6 +186,10 @@
return "${mips64ClangLdflags}"
}
+func (toolchainMips64) AddressSanitizerRuntimeLibrary() string {
+ return "libclang_rt.asan-mips64-android.so"
+}
+
func mips64ToolchainFactory(arch android.Arch) Toolchain {
return &toolchainMips64{
cflags: "${mips64Cflags}",