summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc')
-rw-r--r--compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc b/compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc
index 9bb5d44e111..48fd6203419 100644
--- a/compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc
+++ b/compiler-rt/test/xray/TestCases/Linux/custom-event-logging.cc
@@ -2,6 +2,8 @@
//
// 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
+// RUN: %clangxx_xray -std=c++11 -fpic -fpie %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
OpenPOWER on IntegriCloud