You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
621 B
13 lines
621 B
// This test ensures that when we invoke the clang compiler, that the -cc1
|
|
// options respect the -fno-xray-function-index flag we provide in the
|
|
// invocation. The default should be to *include* the function index.
|
|
//
|
|
// RUN: %clang -### -fxray-instrument -target x86_64 -c %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -### -fxray-instrument -target x86_64 -fxray-function-index -c %s 2>&1 | FileCheck %s
|
|
|
|
// CHECK-NOT: -fno-xray-function-index
|
|
|
|
// RUN: %clang -### -fxray-instrument -target x86_64 -fno-xray-function-index -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-DISABLED
|
|
|
|
// CHECK-DISABLED: -fno-xray-function-index
|