xref: /llvm-project/clang/test/Driver/xray-function-index.cpp (revision 63bd6d9e644335c8138a59281aafbf65a82fc47a)
1 // RUN: %clang -### -c --target=x86_64 -fxray-instrument %s 2>&1 | FileCheck %s
2 // RUN: %clang -### -c --target=x86_64 -fxray-instrument -fxray-function-index -fno-xray-function-index %s 2>&1 | FileCheck %s --check-prefix=DISABLED
3 
4 // CHECK-NOT:  "-fxray-function-index"
5 // DISABLED:   "-fno-xray-function-index"
6