diff options
author | Caroline Tice <cmtice@google.com> | 2021-02-09 09:00:54 -0800 |
---|---|---|
committer | Caroline Tice <cmtice@chromium.org> | 2021-02-09 18:00:53 +0000 |
commit | 3dd52af0c32e1709697324f15c2d67c0950ee31d (patch) | |
tree | 3233a5e00a2cf154bbc63f18e375e1fb89f8faee /compiler_wrapper/testdata/cros_clang_host_golden | |
parent | 82cde0ceb06242d0769782c0e62d86219e727912 (diff) | |
download | toolchain-utils-3dd52af0c32e1709697324f15c2d67c0950ee31d.tar.gz |
toolchain-utils: Make DWARF v5 the default.
Also update the golden tests appropriately.
BUG=chromium:924760
TEST=Already tested/committed in llvm/files/compiler-wrapper.
Change-Id: I0cac1f60874d7c473a3a79e37c0eddbe3e5dfed5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2683254
Reviewed-by: George Burgess <gbiv@chromium.org>
Commit-Queue: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_clang_host_golden')
9 files changed, 62 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json b/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json index 60311a6d..d6d1a308 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/bisect.json @@ -27,6 +27,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -79,6 +80,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -134,6 +136,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json index 6155f952..ce992fa3 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_ftrapv_maincc_target_specific.json @@ -18,6 +18,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -57,6 +58,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -96,6 +98,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -135,6 +138,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -174,6 +178,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -213,6 +218,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -252,6 +258,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -291,6 +298,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -330,6 +338,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json index be496a68..1411ba22 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_host_wrapper.json @@ -17,6 +17,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json index 53ae62ee..1e7b84d9 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_maincc_target_specific.json @@ -17,6 +17,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -55,6 +56,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -93,6 +95,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -131,6 +134,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -169,6 +173,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -207,6 +212,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -245,6 +251,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -283,6 +290,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -321,6 +329,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", 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 bd99aa4a..56eb92c6 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", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -58,6 +59,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -99,6 +101,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -140,6 +143,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -188,6 +192,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -241,6 +246,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -294,6 +300,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -337,6 +344,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -375,6 +383,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -413,6 +422,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -451,6 +461,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -492,6 +503,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json index 1c5076e2..4e99c843 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_sanitizer_args.json @@ -19,6 +19,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -60,6 +61,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -101,6 +103,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -142,6 +145,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -182,6 +186,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -224,6 +229,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -266,6 +272,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -306,6 +313,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json index 71f6fa7e..646f464d 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_specific_args.json @@ -27,6 +27,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -74,6 +75,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -114,6 +116,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -154,6 +157,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -194,6 +198,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -234,6 +239,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -274,6 +280,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json b/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json index b2997b55..4f14ab26 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clangtidy.json @@ -33,6 +33,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -58,6 +59,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -113,6 +115,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -138,6 +141,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -195,6 +199,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -223,6 +228,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -281,6 +287,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -306,6 +313,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", 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 ef717c64..f88174a7 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", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -61,6 +62,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -88,6 +90,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -133,6 +136,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", @@ -160,6 +164,7 @@ "-Qunused-arguments", "-fno-addrsig", "-fuse-ld=lld", + "-fdebug-default-version=5", "-Wno-unused-local-typedefs", "-Wno-deprecated-declarations", "-Wno-tautological-constant-compare", |