[compiler-rt] 3429c7c - [InstrProf][NFC] Require zlib for debug info tests
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 17 14:06:10 PST 2021
Author: Ellis Hoag
Date: 2021-12-17T14:06:05-08:00
New Revision: 3429c7c3283cd4cc01e29a7243769fc127685e85
URL: https://github.com/llvm/llvm-project/commit/3429c7c3283cd4cc01e29a7243769fc127685e85
DIFF: https://github.com/llvm/llvm-project/commit/3429c7c3283cd4cc01e29a7243769fc127685e85.diff
LOG: [InstrProf][NFC] Require zlib for debug info tests
There was a build failure on the `instrprof-debug-info-correlate.c` test
because zlib was missing so we need to require it to run the test.
Differential Revision: https://reviews.llvm.org/D115970
Added:
Modified:
compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c b/compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
index 1a361841e885d..b35cfe85956a5 100644
--- a/compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
+++ b/compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
@@ -1,3 +1,5 @@
+// REQUIRES: zlib
+
// Value profiling is currently not supported in lightweight mode.
// RUN: %clang_pgogen -o %t.normal -mllvm --disable-vp=true %s
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.normal
diff --git a/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c b/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
index ed2739f7a7a19..df3a94837ed33 100644
--- a/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
+++ b/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
@@ -1,3 +1,5 @@
+// REQUIRES: zlib
+
// Value profiling is currently not supported in lightweight mode.
// RUN: %clang_pgogen -o %t.normal -mllvm --disable-vp=true %s
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.normal
More information about the llvm-commits
mailing list