[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / XRay / xray-instrumentation-bundles-flags.cpp
blob4d311cc7d86c1ac8da4411041dff376f54b544ce
1 // This test ensures that when we invoke the clang compiler, that the -cc1
2 // options include the -fxray-instrumentation-bundle= flag we provide in the
3 // invocation.
4 //
5 // RUN: %clang -fxray-instrument -fxray-instrumentation-bundle=function -### \
6 // RUN: -c -o - %s 2>&1 | FileCheck %s
7 // CHECK: -fxray-instrumentation-bundle=function
8 //
9 // REQUIRES: linux || freebsd
10 // REQUIRES: amd64 || x86_64 || x86_64h || arm || aarch64 || arm64