diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2018-04-25 22:58:40 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2018-04-25 22:58:40 -0700 |
commit | 715c14fe7507ebd11b061cd3f0ac991c4710594e (patch) | |
tree | 0af008173436e2bc978cd0f00bc6da5129491875 | |
parent | 839dfc991d01d183bb7eae140d521a8ee41f73bb (diff) | |
download | libunwind_llvm-pie-dr1-release.tar.gz |
Never enable LTO for libunwind_llvmandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-dev
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.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -65,4 +65,7 @@ cc_library_static { enabled: true, }, }, + lto: { + never: true, + } } |