Android R Beta 3
Rename libunwind -> libunwind_shared
The LLVM build system produces a libunwind.a, and the Clang driver
links its libunwind.a automatically when -nostdlib isn't passed. I'd
like to keep the libunwind.a name, but adding a Soong prebuilt module
of name "libunwind" conflicts with the external/libunwind module that
practically no one is using.
Fix the conflict by renaming libunwind to libunwind_shared, and
removing unnecessary uses of the old module.
(Code should use libunwindstack.so to collect backtraces, and it should
use libc.so's _Unwind_* APIs for C++ exception handling unwinding.)
Test: build Android
(cherry picked from commit 7bfc066a96945e78fee43b104815dcf5165b067c)
1 file changed