
Add explicit --target= so that the tests run on all targets, not some that support XRay, similar to commit e1051414a16e970c2e36c2ab7dfe2b17353c4751. For option testing, we often use a placeholder architecture (e.g., x86_64). Fix https://github.com/llvm/llvm-project/issues/64028
7 lines
272 B
C++
7 lines
272 B
C++
// This test ensures that when we invoke the clang compiler, that the -cc1
|
|
// options include the -fxray-ignore-loops flag we provide in the
|
|
// invocation.
|
|
//
|
|
// RUN: %clang -### -c --target=x86_64 -fxray-ignore-loops %s 2>&1 | FileCheck %s
|
|
// CHECK: -fxray-ignore-loops
|