Use static asan runtime for musl
Use static asan runtimes for musl binaries to match glibc binaries. The static asan runtime also requires libclang_rt.asan_cxx.a. Unlike most other runtimes the asan runtimes need to expose the symbols from the runtime to allow intercepting calls to malloc, new etc. Test: m USE_HOST_MUSL=true aidl_unittests && out/host/linux-x86/testcases/aidl_unittests/x86_64/aidl_unittests Test: sanitize_test.go Change-Id: I93da03b1c447fbb01f37262e7a465f165c2d5a18
Loading
Please register or sign in to comment