[compiler-rt] r302873 - [XRay][compiler-rt] Only run custom event logging in x86_64-linux

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 22:13:12 PDT 2017


Author: dberris
Date: Fri May 12 00:13:11 2017
New Revision: 302873

URL: http://llvm.org/viewvc/llvm-project?rev=302873&view=rev
Log:
[XRay][compiler-rt] Only run custom event logging in x86_64-linux

We only have an implementation in x86_64 that works for the
patching/unpatching and runtime support (trampolines).

Follow-up to D30630.

Modified:
    compiler-rt/trunk/test/xray/TestCases/Linux/custom-event-logging.cc

Modified: compiler-rt/trunk/test/xray/TestCases/Linux/custom-event-logging.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/xray/TestCases/Linux/custom-event-logging.cc?rev=302873&r1=302872&r2=302873&view=diff
==============================================================================
--- compiler-rt/trunk/test/xray/TestCases/Linux/custom-event-logging.cc (original)
+++ compiler-rt/trunk/test/xray/TestCases/Linux/custom-event-logging.cc Fri May 12 00:13:11 2017
@@ -2,7 +2,9 @@
 //
 // RUN: %clangxx_xray -std=c++11 %s -o %t
 // RUN: XRAY_OPTIONS="patch_premain=false verbosity=1 xray_naive_log=false xray_logfile_base=custom-event-logging.xray-" %run %t 2>&1 | FileCheck %s
-//
+// FIXME: Support this in non-x86_64 as well
+// REQUIRES: x86_64-linux
+// REQUIRES: built-in-llvm-tree
 #include <cstdio>
 #include "xray/xray_interface.h"
 




More information about the llvm-commits mailing list