[clang] d22985c - [Driver][XRay][test] Update the macOS support check
Azharuddin Mohammed via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 27 14:05:59 PDT 2020
Author: Azharuddin Mohammed
Date: 2020-08-27T14:05:43-07:00
New Revision: d22985c410873872a96ad3f53170df57c62aac9e
URL: https://github.com/llvm/llvm-project/commit/d22985c410873872a96ad3f53170df57c62aac9e
DIFF: https://github.com/llvm/llvm-project/commit/d22985c410873872a96ad3f53170df57c62aac9e.diff
LOG: [Driver][XRay][test] Update the macOS support check
For macOS, the code says, the XRay flag is only supported on x86_64.
Updating the test and making that check explicit.
Differential Revision: https://reviews.llvm.org/D85773
Added:
Modified:
clang/test/Driver/XRay/xray-instrument-os.c
Removed:
################################################################################
diff --git a/clang/test/Driver/XRay/xray-instrument-os.c b/clang/test/Driver/XRay/xray-instrument-os.c
index ba97328b54a6..3a0397208326 100644
--- a/clang/test/Driver/XRay/xray-instrument-os.c
+++ b/clang/test/Driver/XRay/xray-instrument-os.c
@@ -1,4 +1,4 @@
// RUN: not %clang -o /dev/null -v -fxray-instrument -c %s
-// XFAIL: -linux-, -freebsd, -darwin, -macos
+// XFAIL: -linux-, -freebsd, x86_64-apple-darwin, x86_64-apple-macos
// REQUIRES: amd64 || x86_64 || x86_64h || arm || aarch64 || arm64
typedef int a;
More information about the cfe-commits
mailing list