xref: /llvm-project/clang/test/Driver/XRay/xray-ignore-loops-flags.cpp (revision 841ff7c6ca4c6fa9ff3ac6ba93e177462b7d668e)
1 // This test ensures that when we invoke the clang compiler, that the -cc1
2 // options include the -fxray-ignore-loops flag we provide in the
3 // invocation.
4 //
5 // RUN: %clang -### -c --target=x86_64 -fxray-ignore-loops %s 2>&1 | FileCheck %s
6 // CHECK:  -fxray-ignore-loops
7