lldb-server android aarch64 build fails to link with following error:
/home/omair/work/lldb-dev/llvm/lib/Support/Unix/Signals.inc:419: undefined reference to `dladdr'
/home/omair/work/lldb-dev/llvm/lib/Support/Unix/Signals.inc:431: undefined reference to `dladdr'
I am using gcc-4.9 from Android NDK-r13b.
This patch fixes the issue.
You need to add this symbol to include/llvm/Config/config.h.cmake, otherwise this will never be true.