OSDN Git Service

Test the callgraph directly for the missing edge.
authorDuncan Sands <baldrick@free.fr>
Fri, 19 Sep 2008 08:01:57 +0000 (08:01 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 19 Sep 2008 08:01:57 +0000 (08:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56338 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/PruneEH/2008-09-05-CGUpdate.ll

index 02f88ca..828be7a 100644 (file)
@@ -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 }