diff --git a/compiler-rt/test/memprof/TestCases/memprof_basic.c b/compiler-rt/test/memprof/TestCases/memprof_basic.c --- a/compiler-rt/test/memprof/TestCases/memprof_basic.c +++ b/compiler-rt/test/memprof/TestCases/memprof_basic.c @@ -1,4 +1,5 @@ // REQUIRES: x86_64-linux +// REQUIRES: Clang // RUN: %clang_memprof -fuse-ld=lld -Wl,--no-rosegment -gmlt -fdebug-info-for-profiling -fmemory-profile -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -Wl,-build-id -no-pie %s -o %t.memprofexe // RUN: env MEMPROF_OPTIONS=log_path=stdout %t.memprofexe > %t.memprofraw // RUN: %llvm_profdata show --memory %t.memprofraw --profiled-binary %t.memprofexe -o - | FileCheck %s diff --git a/compiler-rt/test/memprof/TestCases/memprof_inline.c b/compiler-rt/test/memprof/TestCases/memprof_inline.c --- a/compiler-rt/test/memprof/TestCases/memprof_inline.c +++ b/compiler-rt/test/memprof/TestCases/memprof_inline.c @@ -1,4 +1,5 @@ // REQUIRES: x86_64-linux +// REQUIRES: Clang // RUN: %clang_memprof -fuse-ld=lld -Wl,--no-rosegment -gmlt -fdebug-info-for-profiling -fmemory-profile -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -Wl,-build-id -no-pie %s -o %t.memprofexe // RUN: env MEMPROF_OPTIONS=log_path=stdout %t.memprofexe > %t.memprofraw // RUN: %llvm_profdata show --memory %t.memprofraw --profiled-binary %t.memprofexe | FileCheck %s diff --git a/compiler-rt/test/memprof/TestCases/memprof_multi.c b/compiler-rt/test/memprof/TestCases/memprof_multi.c --- a/compiler-rt/test/memprof/TestCases/memprof_multi.c +++ b/compiler-rt/test/memprof/TestCases/memprof_multi.c @@ -1,4 +1,5 @@ // REQUIRES: x86_64-linux +// REQUIRES: Clang // RUN: %clang_memprof -fuse-ld=lld -Wl,--no-rosegment -gmlt -fdebug-info-for-profiling -fmemory-profile -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -Wl,-build-id -no-pie %s -o %t.memprofexe // RUN: env MEMPROF_OPTIONS=log_path=stdout %t.memprofexe > %t.memprofraw // RUN: %llvm_profdata show --memory %t.memprofraw --profiled-binary %t.memprofexe -o - | FileCheck %s