I was able to push the ASAN related libs located in ANDROID_SDK using the script "asan_device_setup" located inside "Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/7.0.2/bin" from my MacOS.
However, I am unable to get any symbol information for the Address Sanitizer call stack. I pushed the file "llvm-symbolizer" located inside "/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin" to "/system/bin/" on Android device.
When I try to execute "adb shell /system/bin/llvm-symbolizer --help" from terminal, I get some weird error messages. Clearly llvm-symbolizer is not functioning the way it is supposed to.
Consequently, I am seeing this WARNING messages:
==6937==WARNING: external symbolizer didn't start up correctly!
==6937==WARNING: Can't write to symbolizer at fd 56
==6937==WARNING: external symbolizer didn't start up correctly!
==6937==WARNING: Failed to use and restart external symbolizer!
And no symbol information other than the .so+offset with the memory address for the Address Sanitizer related crashes.
I am really not sure where I am going wrong. Is there a way to get the symbol information for ASAN related crashes other than llvm-symbolizer. Please help. Thanks.