diff options
| author | Duncan Sands <baldrick@free.fr> | 2008-09-19 07:57:09 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2008-09-19 07:57:09 +0000 |
| commit | 938e8f60d6527d6daa12e31d57e376e68b7fda4b (patch) | |
| tree | 2be9baf25c8b3a12ed88009b652e402de07e7e2e /llvm/test/Analysis/CallGraph | |
| parent | a8e88ecda6bf95fa0443dcdbad72257933d2ee3e (diff) | |
| download | bcm5719-llvm-938e8f60d6527d6daa12e31d57e376e68b7fda4b.tar.gz bcm5719-llvm-938e8f60d6527d6daa12e31d57e376e68b7fda4b.zip | |
Teach -callgraph to always print the callgraph (as the
description says it does), not just when -analyze is
used as well. This means printing to stderr, so adjust
some tests.
llvm-svn: 56337
Diffstat (limited to 'llvm/test/Analysis/CallGraph')
| -rw-r--r-- | llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll b/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll index 4f090d5af36..a3afc379c5a 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: llvm-as < %s | opt -analyze -callgraph -disable-output | grep {Calls function 'callee'} | count 2 +; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function 'callee'} | count 2 define internal void @callee(...) { entry: diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll index e37e112f341..8e6e5d28394 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: llvm-as < %s | opt -analyze -callgraph -disable-output | grep {Calls function} +; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function} @a = global void ()* @f ; <void ()**> [#uses=0] |

