diff options
author | Jian Cai <jiancai@google.com> | 2020-06-17 15:27:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-26 01:40:14 +0000 |
commit | dc996b9cd333b330ca79985a93f9a71995676a71 (patch) | |
tree | 19c662f370a8f56d514ba9f3e2fb72b7f657dbb6 /compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json | |
parent | 0c1730a05945799cf65aced40063c17ffafe737f (diff) | |
download | toolchain-utils-dc996b9cd333b330ca79985a93f9a71995676a71.tar.gz |
compiler_wrapper: redirect clang crash dignoses
Redirect all diagnoses of clang crashes to a dedicated directory using
fcrash-diagnostics-dir so we can upload these files to the cloud. The
flag was added to clangPostFlags to overwite redirection done on package
level.
BUG=chromium:1056904
TEST=None
Change-Id: I78bfc77d7f3af8556b4308f2e71407d627627747
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2251038
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Jian Cai <jiancai@google.com>
Tested-by: Jian Cai <jiancai@google.com>
Diffstat (limited to 'compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json b/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json index aa083d70..b4e0f9ce 100644 --- a/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json +++ b/compiler_wrapper/testdata/cros_hardened_golden/clang_ftrapv_maincc_target_specific.json @@ -29,6 +29,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -80,6 +81,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -131,6 +133,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -182,6 +185,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -233,6 +237,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -284,6 +289,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -335,6 +341,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -386,6 +393,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", @@ -437,6 +445,7 @@ "-fuse-ld=lld", "-Wno-final-dtor-non-final-class", "-Werror=poison-system-directories", + "-fcrash-diagnostics-dir=/tmp/clang_crash_diagnostics", "-fstack-protector-strong", "-fPIE", "-pie", |