summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2018-04-25 22:58:40 -0700
committerPirama Arumuga Nainar <pirama@google.com>2018-04-25 22:58:40 -0700
commit715c14fe7507ebd11b061cd3f0ac991c4710594e (patch)
tree0af008173436e2bc978cd0f00bc6da5129491875
parent839dfc991d01d183bb7eae140d521a8ee41f73bb (diff)
downloadlibunwind_llvm-pie-dr1-release.tar.gz
Bug: http://b/78476183 Symbols from libunwind_llvm are supposed to have hidden visibility and enforced with '-Wl,--exclude-libs'. With LTO, the archive with these symbols may not match the file to --exclude-libs, thereby causing them to be exported. Test: Verify that libhwbinder.so with LTO has hidden visiblity for _Unwind_VRS_Set Change-Id: I84292e97d6af42448165f515f2e11c6bc2ee9f63
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 75c72f8..c71d35f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,4 +65,7 @@ cc_library_static {
enabled: true,
},
},
+ lto: {
+ never: true,
+ }
}