7e8b47b313
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
Merged-In: I99511f038a6d4b88b5c849a0f8943c24731ab6ea
(cherry picked from commit
|
||
---|---|---|
.. | ||
arm64_device.go | ||
arm64_fuchsia_device.go | ||
arm_device.go | ||
cfi_exports.map | ||
clang.go | ||
global.go | ||
integer_overflow_blacklist.txt | ||
mips64_device.go | ||
mips_device.go | ||
tidy.go | ||
tidy_test.go | ||
toolchain.go | ||
x86_64_device.go | ||
x86_64_fuchsia_device.go | ||
x86_darwin_host.go | ||
x86_device.go | ||
x86_linux_bionic_host.go | ||
x86_linux_host.go | ||
x86_windows_host.go |