From c4e3e83d78e111951e1780847ccfe76e4452fbb8 Mon Sep 17 00:00:00 2001 From: Jan Voung Date: Tue, 21 May 2024 13:09:24 +0000 Subject: [PATCH] Add a requires `lto` instrprof-gc-sections.c The test has a run with `flto` so makes sense to require `lto` in some way. Currently it relies on requires `lld-available` to imply that `lto` is supported, but it would help to separate the two notions in that `lto` should require up to date components while `lld-available` may not: https://github.com/llvm/llvm-project/pull/92752 --- compiler-rt/test/profile/instrprof-gc-sections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/profile/instrprof-gc-sections.c b/compiler-rt/test/profile/instrprof-gc-sections.c index 8b84c0a242180..1a772a296de82 100644 --- a/compiler-rt/test/profile/instrprof-gc-sections.c +++ b/compiler-rt/test/profile/instrprof-gc-sections.c @@ -1,4 +1,4 @@ -// REQUIRES: linux, lld-available +// REQUIRES: linux, lld-available, lto // FIXME: Investigate and fix. // XFAIL: powerpc64-target-arch