summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-09-19 08:01:57 +0000
committerDuncan Sands <baldrick@free.fr>2008-09-19 08:01:57 +0000
commite763f7eec216dbc07f66599f4c3827cfe59da274 (patch)
tree92a9ed6e172acc79f806a7a341984b2af4f77fec /test
parente65d39a42ccb63c8b883db0c466cc43f42d83fff (diff)
downloadllvm-e763f7eec216dbc07f66599f4c3827cfe59da274.tar.gz
llvm-e763f7eec216dbc07f66599f4c3827cfe59da274.tar.bz2
llvm-e763f7eec216dbc07f66599f4c3827cfe59da274.tar.xz
Test the callgraph directly for the missing edge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/PruneEH/2008-09-05-CGUpdate.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll b/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll
index 02f88cae92..828be7ac34 100644
--- a/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll
+++ b/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -prune-eh -inline -globalsmodref-aa -markmodref | llvm-dis | not grep {define.*read}
+; RUN: llvm-as < %s | opt -prune-eh -inline -callgraph -disable-output |& \
+; RUN: grep {Calls.*ce3806g__fxio__put__put_int64__4.1339} | count 2
%struct.FRAME.ce3806g = type { %struct.string___XUB, %struct.string___XUB, %struct.string___XUB, %struct.string___XUB }
%struct.FRAME.ce3806g__fxio__put__4 = type { i32, i32, i32, %struct.system__file_control_block__pstring*, i32, i32, i8 }
%struct.RETURN = type { i8, i32 }