[clang] 6a8608e - [clang] Disable crash-diagnostic-tar.c if backtraces are disabled (#201921)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 5 12:56:31 PDT 2026
Author: Daniel Thornburgh
Date: 2026-06-05T19:56:27Z
New Revision: 6a8608e5a75f9c4b945c3ed210dee6b20705cefe
URL: https://github.com/llvm/llvm-project/commit/6a8608e5a75f9c4b945c3ed210dee6b20705cefe
DIFF: https://github.com/llvm/llvm-project/commit/6a8608e5a75f9c4b945c3ed210dee6b20705cefe.diff
LOG: [clang] Disable crash-diagnostic-tar.c if backtraces are disabled (#201921)
PR #201643 adds a test that fails if backtraces are disabled, e.g. in
tests for a stripped build. This was failing the Fuchsia CI, so this
change disables this test in such cases. It is likely possible to make
this test finer-grained to allow it to succeed with backtraces disabled.
Added:
Modified:
clang/test/Driver/crash-diagnostics-tar.c
Removed:
################################################################################
diff --git a/clang/test/Driver/crash-diagnostics-tar.c b/clang/test/Driver/crash-diagnostics-tar.c
index 94bcc313946c0..931c3524ed155 100644
--- a/clang/test/Driver/crash-diagnostics-tar.c
+++ b/clang/test/Driver/crash-diagnostics-tar.c
@@ -1,3 +1,4 @@
+// REQUIRES: backtrace
// RUN: export LSAN_OPTIONS=detect_leaks=0
// RUN: rm -rf %t && mkdir %t
// RUN: cd %t
More information about the cfe-commits
mailing list