summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/CallGraph
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-07-02 18:37:59 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-07-02 18:37:59 +0000
commit5da53436d526162bf696ba40df3841a6b5992fbd (patch)
tree061f2e5a2277613b41b14a278e718134527edf99 /llvm/test/Analysis/CallGraph
parent9b887d11b5061226d9b19462f13f8e1de54cb4f4 (diff)
downloadbcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.tar.gz
bcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.zip
Convert the uses of '|&' to use '2>&1 |' instead, which works on old
versions of Bash. In addition, I can back out the change to the lit built-in shell test runner to support this. This should fix the majority of fallout on Darwin, but I suspect there will be a few straggling issues. llvm-svn: 159544
Diffstat (limited to 'llvm/test/Analysis/CallGraph')
-rw-r--r--llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll2
-rw-r--r--llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll2
-rw-r--r--llvm/test/Analysis/CallGraph/no-intrinsics.ll2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll b/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
index 55d0be6f26f..595cc427c45 100644
--- a/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
+++ b/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
; CHECK: Call graph node <<null function>>
; CHECK: CS<{{.*}}> calls function 'callee'
diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
index 632cd0c790a..ac95188899c 100644
--- a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
+++ b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
@a = global void ()* @f ; <void ()**> [#uses=0]
diff --git a/llvm/test/Analysis/CallGraph/no-intrinsics.ll b/llvm/test/Analysis/CallGraph/no-intrinsics.ll
index 272a5593dee..450dce58e30 100644
--- a/llvm/test/Analysis/CallGraph/no-intrinsics.ll
+++ b/llvm/test/Analysis/CallGraph/no-intrinsics.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
; Check that intrinsics aren't added to the call graph
OpenPOWER on IntegriCloud