Revert "Revert "Hide symbols from the unwinder.""
Bug: 18471342
Bug: 19958712
This reverts commit d3c786591b2e606d371c402bb3123fffbcbbb6ba.
Change-Id: Ie0744c329241cf20b58c519c1bbbdc68e496e43d
(cherry picked from commit 2ea633775bea94317c426da71f3782ce322389fd)
diff --git a/Android.mk b/Android.mk
index e3f25ff..2afae8f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -73,6 +73,7 @@
LOCAL_SHARED_LIBRARIES := libdl
LOCAL_CXX_STL := none
LOCAL_STATIC_LIBRARIES_arm := libunwind_llvm
+LOCAL_LDFLAGS_arm := -Wl,--exclude-libs,libunwind_llvm.a
include $(BUILD_SHARED_LIBRARY)
# host static lib