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 | e65d39a42ccb63c8b883db0c466cc43f42d83fff (patch) | |
tree | 5ac155673b708efe3891cab768e0e1e6f72b580d /test/Analysis | |
parent | fa48f941304f29f967e0a7fc6807d7026ba99b7b (diff) | |
download | external_llvm-e65d39a42ccb63c8b883db0c466cc43f42d83fff.zip external_llvm-e65d39a42ccb63c8b883db0c466cc43f42d83fff.tar.gz external_llvm-e65d39a42ccb63c8b883db0c466cc43f42d83fff.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/CallGraph/2008-09-09-DirectCall.ll | 2 | ||||
-rw-r--r-- | test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/CallGraph/2008-09-09-DirectCall.ll b/test/Analysis/CallGraph/2008-09-09-DirectCall.ll index 4f090d5..a3afc37 100644 --- a/test/Analysis/CallGraph/2008-09-09-DirectCall.ll +++ b/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/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll index e37e112..8e6e5d2 100644 --- a/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll +++ b/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] |