https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/136157
Make sure any generated clang reproducers end up as artifacts. >From 3f62c811580c82ead2cb227c4af1a6a5df93c576 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov <mizve...@gmail.com> Date: Thu, 17 Apr 2025 13:20:07 -0300 Subject: [PATCH] [ci] upload any generated clang reproducers as artifacts Make sure any generated clang reproducers end up as artifacts. --- .ci/monolithic-linux.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh index 6461c9d40ad59..d2557554cb0bc 100755 --- a/.ci/monolithic-linux.sh +++ b/.ci/monolithic-linux.sh @@ -28,10 +28,14 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then ccache --clear fi +mkdir -p artifacts/reproducers + +# Make sure any clang reproducers will end up as artifacts. +export CLANG_CRASH_DIAGNOSTICS_DIR=`realpath artifacts/reproducers` + function at-exit { retcode=$? - mkdir -p artifacts ccache --print-stats > artifacts/ccache_stats.txt cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits