From c8381a8ad499a008616af429dfd4ad4192bc5855 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Thu, 30 Mar 2017 03:18:48 +0000 Subject: [PATCH] [XRay][compiler-rt] Only run tests using llvm-xray in x86_64 for now Followup on D31454. llvm-svn: 299049 --- compiler-rt/test/xray/TestCases/Linux/fdr-mode.cc | 4 ++-- compiler-rt/test/xray/TestCases/Linux/fdr-thread-order.cc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/xray/TestCases/Linux/fdr-mode.cc b/compiler-rt/test/xray/TestCases/Linux/fdr-mode.cc index 7f19ec5..cdb0249 100644 --- a/compiler-rt/test/xray/TestCases/Linux/fdr-mode.cc +++ b/compiler-rt/test/xray/TestCases/Linux/fdr-mode.cc @@ -2,8 +2,8 @@ // RUN: XRAY_OPTIONS="patch_premain=false xray_naive_log=false xray_logfile_base=fdr-logging-test- xray_fdr_log=true verbosity=1" %run %t 2>&1 | FileCheck %s // RUN: %llvm_xray convert --symbolize --output-format=yaml -instr_map=%t "`ls fdr-logging-test-* | head -1`" | FileCheck %s --check-prefix TRACE // RUN: rm fdr-logging-test-* -// FIXME: Figure out how to make llvm-xray work for aarch64-42vma -// XFAIL: aarch64-42vma +// FIXME: Make llvm-xray work on non-x86_64 as well. +// REQUIRES: x86_64 #include "xray/xray_log_interface.h" #include diff --git a/compiler-rt/test/xray/TestCases/Linux/fdr-thread-order.cc b/compiler-rt/test/xray/TestCases/Linux/fdr-thread-order.cc index 52cbcfd..a52428f 100644 --- a/compiler-rt/test/xray/TestCases/Linux/fdr-thread-order.cc +++ b/compiler-rt/test/xray/TestCases/Linux/fdr-thread-order.cc @@ -2,7 +2,8 @@ // RUN: XRAY_OPTIONS="patch_premain=false xray_naive_log=false xray_logfile_base=fdr-thread-order. xray_fdr_log=true verbosity=1" %run %t 2>&1 | FileCheck %s // RUN: %llvm_xray convert --symbolize --output-format=yaml -instr_map=%t "`ls fdr-thread-order.* | head -1`" | FileCheck %s --check-prefix TRACE // RUN: rm fdr-thread-order.* -// XFAIL: aarch64-42vma +// FIXME: Make llvm-xray work on non-x86_64 as well. +// REQUIRES: x86_64 #include "xray/xray_log_interface.h" #include #include -- 2.7.4