[compiler-rt] r299050 - [XRay][compiler-rt] Spell REQUIRES properly for x86_64-linux

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 20:50:56 PDT 2017


Author: dberris
Date: Wed Mar 29 22:50:56 2017
New Revision: 299050

URL: http://llvm.org/viewvc/llvm-project?rev=299050&view=rev
Log:
[XRay][compiler-rt] Spell REQUIRES properly for x86_64-linux

Until llvm-xray starts running/supporting binaries that are not ELF64 we
only run the FDR tests on x86_64-linux. Previous changes caused the
tests to not actually run on x86_64.

Follow-up on D31454.

Modified:
    compiler-rt/trunk/test/xray/TestCases/Linux/fdr-mode.cc
    compiler-rt/trunk/test/xray/TestCases/Linux/fdr-thread-order.cc

Modified: compiler-rt/trunk/test/xray/TestCases/Linux/fdr-mode.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/xray/TestCases/Linux/fdr-mode.cc?rev=299050&r1=299049&r2=299050&view=diff
==============================================================================
--- compiler-rt/trunk/test/xray/TestCases/Linux/fdr-mode.cc (original)
+++ compiler-rt/trunk/test/xray/TestCases/Linux/fdr-mode.cc Wed Mar 29 22:50:56 2017
@@ -3,7 +3,7 @@
 // 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: Make llvm-xray work on non-x86_64 as well.
-// REQUIRES: x86_64
+// REQUIRES: x86_64-linux
 
 #include "xray/xray_log_interface.h"
 #include <cassert>

Modified: compiler-rt/trunk/test/xray/TestCases/Linux/fdr-thread-order.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/xray/TestCases/Linux/fdr-thread-order.cc?rev=299050&r1=299049&r2=299050&view=diff
==============================================================================
--- compiler-rt/trunk/test/xray/TestCases/Linux/fdr-thread-order.cc (original)
+++ compiler-rt/trunk/test/xray/TestCases/Linux/fdr-thread-order.cc Wed Mar 29 22:50:56 2017
@@ -3,7 +3,7 @@
 // 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.*
 // FIXME: Make llvm-xray work on non-x86_64 as well.
-// REQUIRES: x86_64
+// REQUIRES: x86_64-linux
 #include "xray/xray_log_interface.h"
 #include <thread>
 #include <cassert>




More information about the llvm-commits mailing list