teak-llvm/clang/test/Driver/XRay/xray-nolinkdeps.cpp
Dean Michael Berris 9f4247d3e3 [XRay][clang] Only run driver test for Linux and FreeBSD
This is a follow-up to D45354, which we should have only been running on
Linux and FreeBSD for specific targets.

Differential Revision: https://reviews.llvm.org/D45354

llvm-svn: 329378
2018-04-06 06:09:57 +00:00

9 lines
411 B
C++

// RUN: %clang -v -o /dev/null -fxray-instrument -fnoxray-link-deps %s -### \
// RUN: 2>&1 | FileCheck --check-prefix DISABLE %s
// RUN: %clang -v -o /dev/null -fxray-instrument -fxray-link-deps %s -### \
// RUN: 2>&1 | FileCheck --check-prefix ENABLE %s
// ENABLE: clang_rt.xray
// DISABLE-NOT: clang_rt.xray
// REQUIRES-ANY: linux, freebsd
// REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64