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/clang_path.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json') diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json index 668415f1..61537a59 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json @@ -17,6 +17,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -49,6 +50,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -81,6 +83,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -113,6 +116,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -152,6 +156,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -196,6 +201,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -240,6 +246,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -274,6 +281,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -303,6 +311,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -332,6 +341,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -361,6 +371,7 @@ "-Qunused-arguments", "-grecord-gcc-switches", "-fno-addrsig", + "-fuse-ld=lld", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -393,6 +404,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