[clang] 2033b1c - [CodeGen] Don't write coverage to source directory in test
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 27 02:21:49 PDT 2024
Author: Benjamin Kramer
Date: 2024-06-27T11:21:42+02:00
New Revision: 2033b1cf16f040e1369d8efba8439dcd3e36ed31
URL: https://github.com/llvm/llvm-project/commit/2033b1cf16f040e1369d8efba8439dcd3e36ed31
DIFF: https://github.com/llvm/llvm-project/commit/2033b1cf16f040e1369d8efba8439dcd3e36ed31.diff
LOG: [CodeGen] Don't write coverage to source directory in test
Added:
Modified:
clang/test/CodeGen/coverage-target-attr.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/coverage-target-attr.c b/clang/test/CodeGen/coverage-target-attr.c
index 8c8e6ee1c3b69..d46299f5bee22 100644
--- a/clang/test/CodeGen/coverage-target-attr.c
+++ b/clang/test/CodeGen/coverage-target-attr.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -coverage-notes-file=test.gcno -coverage-data-file=test.gcda -triple aarch64-linux-android30 -target-cpu generic -target-feature +tagged-globals -fsanitize=hwaddress %s -o %t
+// RUN: %clang_cc1 -emit-llvm -coverage-notes-file=/dev/null -coverage-data-file=/dev/null -triple aarch64-linux-android30 -target-cpu generic -target-feature +tagged-globals -fsanitize=hwaddress %s -o %t
// RUN: FileCheck %s < %t
// CHECK: define internal void @__llvm_gcov_writeout() unnamed_addr [[ATTR:#[0-9]+]]
More information about the cfe-commits
mailing list