[Driver][test] Clean up some xray tests
authorFangrui Song <i@maskray.me>
Mon, 24 Jul 2023 17:05:34 +0000 (10:05 -0700)
committerFangrui Song <i@maskray.me>
Mon, 24 Jul 2023 17:05:34 +0000 (10:05 -0700)
commit841ff7c6ca4c6fa9ff3ac6ba93e177462b7d668e
tree7c95c59be1a976f5fbfe96bfcd3269be15d764d0
parentf617aaa0d74c24e0fea8fb05c70ce7b532fdb66f
[Driver][test] Clean up some xray tests

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
clang/test/Driver/XRay/xray-ignore-loops-flags.cpp
clang/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp
clang/test/Driver/XRay/xray-mode-flags.cpp
clang/test/Driver/XRay/xray-nolinkdeps.cpp
clang/test/Driver/XRay/xray-shared-noxray.cpp [deleted file]