diff options
Diffstat (limited to 'test/Driver/XRay/xray-instrumentation-bundles-flags.cpp')
-rw-r--r-- | test/Driver/XRay/xray-instrumentation-bundles-flags.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp b/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp new file mode 100644 index 0000000000000..da2535509b994 --- /dev/null +++ b/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp @@ -0,0 +1,11 @@ +// This test ensures that when we invoke the clang compiler, that the -cc1 +// options include the -fxray-instrumentation-bundle= flag we provide in the +// invocation. +// +// RUN: %clang -fxray-instrument -fxray-instrumentation-bundle=function -### \ +// RUN: -x c++ -std=c++11 -emit-llvm -c -o - %s 2>&1 \ +// RUN: | FileCheck %s +// CHECK: -fxray-instrumentation-bundle=function +// +// REQUIRES-ANY: linux, freebsd +// REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64 |