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