summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2019-03-19 20:05:05 -0700
committer Yi Kong <yikong@google.com> 2019-03-20 10:35:40 -0700
commit1b0ba94e5df275d22badaa3c18524cce9b6e233e (patch)
tree42d616f839db92a7bcb7b6d657ce6d49f2253bd4 /java/java.go
parent2e10ea39a97390941ec4acdbf000376b6ab48c28 (diff)
Add -faddrsig to ClangExtraCflags
Emit address-significance table which allows linker to perform safe ICF. Clang does not emit the table by default on Android since NDK still uses GNU binutils. With the flag, binary size is decreased. For Marlin: -fno-addrsig -faddrsig diff /system/bin 28012K 27108K -3.33% /system/lib 88220K 86964K -1.44% /system/lib64 151936K 148108K -2.58% Test: m checkbuild Bug: 128940110 Change-Id: I99511f038a6d4b88b5c849a0f8943c24731ab6ea (cherry picked from commit a32b5e6a6bcf3d4c8120401f39cbeffd5efb7656)
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions