Build libunwind_llvm with -D_LIBUNWIND_USE_DLADDR=0

This macro removes the usage of dladdr from libunwind_llvm, which allows
linking libunwind.a into a static executable without needing the stub
dladdr from libdl.a(libdl_static.o).

dladdr is used for unw_get_proc_name, which isn't needed for C++ exception
handling. unw_get_proc_name can already fail with UNW_EUNSPEC if the PC is
not in the .dynsym table (e.g. a static function).

Bug: http://b/141485154
Test: ./checkbuild.py && ./run_tests.py
Change-Id: I83d4f0b1b949bc76b277f50db80ea3ce77b88086
1 file changed