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
This commit is contained in:
Colin Cross 2016-05-19 22:43:46 -07:00
parent d26a713dca
commit d87145fe05
2 changed files with 8 additions and 0 deletions

View File

@ -186,6 +186,10 @@ func (t *toolchainMips64) ClangLdflags() string {
return "${mips64ClangLdflags}"
}
func (toolchainMips64) AddressSanitizerRuntimeLibrary() string {
return "libclang_rt.asan-mips64-android.so"
}
func mips64ToolchainFactory(arch android.Arch) Toolchain {
return &toolchainMips64{
cflags: "${mips64Cflags}",

View File

@ -234,6 +234,10 @@ func (t *toolchainMips) ClangLdflags() string {
return "${mipsClangLdflags}"
}
func (toolchainMips) AddressSanitizerRuntimeLibrary() string {
return "libclang_rt.asan-mips-android.so"
}
func mipsToolchainFactory(arch android.Arch) Toolchain {
return &toolchainMips{
cflags: "${mipsCflags}",