From 802e83e0b17b770fb8ab9a5d3e5a5a0ab8635d60 Mon Sep 17 00:00:00 2001 From: Manoj Gupta Date: Fri, 13 Sep 2019 13:08:14 -0700 Subject: clang wrappers: Use LLD as the default linker. Match the changes to python wrapper in CL:1686078. Also add small fix for echo path, it should be /bin/echo instead of /usr/bin/echo. BUG=chromium:979909 TEST=go test Change-Id: I5e626febd5abab4f9824aba1e158f264bf75be9e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1803778 Tested-by: Manoj Gupta Reviewed-by: Tobias Bosch --- .../testdata/cros_clang_host_golden/force_disable_werror.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json') diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json b/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json index 1c629fa8..c3c316bf 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/force_disable_werror.json @@ -20,6 +20,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -52,6 +53,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -70,6 +72,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -105,6 +108,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -123,6 +127,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", -- cgit v1.2.3