platform_build_soong/cc/config
Chih-Hung Hsieh 02b4da53a7 Add USE_CLANG_LLD and use_clang_lld.
* USE_CLANG_LLD is unedefined in current builds.
* When USE_CLANG_LLD is defined to 'true' or '1',
  use clang's lld instead of ld or ld.gold.
* When lld is enabled:
  * ld-only flags are not passed to 'lld'.
  * location_packer is disabled.
  * Use new lld's --pack-dyn-relocs=android.
* When lld does not work:
  * In Android.mk files use LOCAL_USE_CLANG_LLD := false.
  * In Android.bp files use use_clang_lld: false.
* Only arm, arm64, x86, and x86_64_devices have LLD flags;
  all other hosts and targets do not call lld yet.

Bug: 73768157
Test: make checkbuild and boot
Change-Id: I06b8a1e868a600997a7e70fe05c299d751d23d5f
2018-04-12 14:37:35 -07:00
..
arm64_device.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
arm_device.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
cfi_exports.map Revert "Revert "Build system changes for CFI (Soong)"" 2017-11-01 12:50:01 -07:00
clang.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
global.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
integer_overflow_blacklist.txt Add integer_overflow sanitization build option. 2017-07-07 09:52:23 -07:00
mips64_device.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
mips_device.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
tidy.go Switch PackageContext functions to take a ctx 2018-03-12 15:48:26 -07:00
tidy_test.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
toolchain.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
x86_64_device.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
x86_darwin_host.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
x86_device.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
x86_linux_bionic_host.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
x86_linux_host.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
x86_windows_host.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00