diff options
author | Duncan Sands <baldrick@free.fr> | 2008-09-19 08:01:57 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-09-19 08:01:57 +0000 |
commit | d3cd9853cdf055dab6736a188da58e88594d696f (patch) | |
tree | 92a9ed6e172acc79f806a7a341984b2af4f77fec /test | |
parent | f7dbeb3bdf1945aa9eaba9dcc1b6859c77265143 (diff) | |
download | external_llvm-d3cd9853cdf055dab6736a188da58e88594d696f.zip external_llvm-d3cd9853cdf055dab6736a188da58e88594d696f.tar.gz external_llvm-d3cd9853cdf055dab6736a188da58e88594d696f.tar.bz2 |
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.ll | 3 |
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 02f88ca..828be7a 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 } |