Skip to content

Commit 6984f94

Browse files
authored
[MemProf] Require x86 for memprof-pgho.cpp test (llvm#170321)
This requires an x86 build, otherwise the test will fail with: ``` Error running ThinLTO backend: No available targets are compatible with triple "x86_64-unknown-linux-gnu" ```
1 parent c21fd44 commit 6984f94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Test end-to-end ThinLTO optimization pipeline with PGHO, that it does not
22
// interfere with other allocation instrumentation features.
33
//
4+
// REQUIRES: x86-registered-target
5+
//
46
// RUN: split-file %s %t
57
// RUN: llvm-profdata merge %t/memprof.yaml -o %t/use.memprofdata
68
//

0 commit comments

Comments
 (0)