[PATCH] D85773: [Driver][XRay][test] Update the macOS support check

Azharuddin Mohammed via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 12:58:09 PDT 2020


azharudd created this revision.
azharudd added a reviewer: arphaman.
Herald added subscribers: cfe-commits, dexonsmith, dberris.
Herald added a project: clang.
azharudd requested review of this revision.

For macOS, the code says, the XRay flag is only supported on x86_64.
Updating the test and making that check explicit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85773

Files:
  clang/test/Driver/XRay/xray-instrument-os.c


Index: clang/test/Driver/XRay/xray-instrument-os.c
===================================================================
--- clang/test/Driver/XRay/xray-instrument-os.c
+++ 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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85773.284840.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/f4f94857/attachment.bin>


More information about the llvm-commits mailing list