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;
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;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits