summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp
blob: b68dca2355258dd9a9954aa136e34cd12a363bd5 (plain)
1
2
3
4
5
6
7
8
9
10
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: linux || freebsd
// REQUIRES: amd64 || x86_64 || x86_64h || arm || aarch64 || arm64
OpenPOWER on IntegriCloud