diff options
| author | Dean Michael Berris <dberris@google.com> | 2017-11-10 07:00:55 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2017-11-10 07:00:55 +0000 |
| commit | 46d0cd34136be825f588a7c4ededc8aa5b4e3d07 (patch) | |
| tree | 7902c521a294f058ff7b0537f129e275d554f55a /compiler-rt/test/xray/TestCases | |
| parent | 98a64388abf7867b136e028e2607048328d0106a (diff) | |
| download | bcm5719-llvm-46d0cd34136be825f588a7c4ededc8aa5b4e3d07.tar.gz bcm5719-llvm-46d0cd34136be825f588a7c4ededc8aa5b4e3d07.zip | |
Revert "[XRay][darwin] Initial XRay in Darwin Support"
This reverts r317875.
llvm-svn: 317877
Diffstat (limited to 'compiler-rt/test/xray/TestCases')
3 files changed, 0 insertions, 41 deletions
diff --git a/compiler-rt/test/xray/TestCases/Darwin/always-never-instrument.cc b/compiler-rt/test/xray/TestCases/Darwin/always-never-instrument.cc deleted file mode 100644 index 4e196859bcd..00000000000 --- a/compiler-rt/test/xray/TestCases/Darwin/always-never-instrument.cc +++ /dev/null @@ -1,23 +0,0 @@ -// Test that the always/never instrument lists apply. -// RUN: echo "fun:main" > %tmp-always.txt -// RUN: echo "fun:__xray*" > %tmp-never.txt -// RUN: %clangxx_xray \ -// RUN: -fxray-never-instrument=%tmp-never.txt \ -// RUN: -fxray-always-instrument=%tmp-always.txt \ -// RUN: %s -o %t -// RUN: %llvm_xray extract -symbolize %t | \ -// RUN: FileCheck %s --check-prefix NOINSTR -// RUN: %llvm_xray extract -symbolize %t | \ -// RUN: FileCheck %s --check-prefix ALWAYSINSTR -// REQUIRES: x86_64-linux -// REQUIRES: built-in-llvm-tree - -// NOINSTR-NOT: {{.*__xray_NeverInstrumented.*}} -int __xray_NeverInstrumented() { - return 0; -} - -// ALWAYSINSTR: {{.*function-name:.*main.*}} -int main(int argc, char *argv[]) { - return __xray_NeverInstrumented(); -} diff --git a/compiler-rt/test/xray/TestCases/Darwin/lit.local.cfg b/compiler-rt/test/xray/TestCases/Darwin/lit.local.cfg deleted file mode 100644 index a85dfcd24c0..00000000000 --- a/compiler-rt/test/xray/TestCases/Darwin/lit.local.cfg +++ /dev/null @@ -1,9 +0,0 @@ -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -if root.host_os not in ['Darwin']: - config.unsupported = True diff --git a/compiler-rt/test/xray/TestCases/Linux/lit.local.cfg b/compiler-rt/test/xray/TestCases/Linux/lit.local.cfg deleted file mode 100644 index 57271b8078a..00000000000 --- a/compiler-rt/test/xray/TestCases/Linux/lit.local.cfg +++ /dev/null @@ -1,9 +0,0 @@ -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -if root.host_os not in ['Linux']: - config.unsupported = True |

