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.
Why the check for GNUish C++ here? I think presence of dladdr is all that matters.