comparison test/Other/2009-03-31-CallGraph.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children 60c9769439b8
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: opt < %s -inline -prune-eh -disable-output
2 define void @f2() {
3 invoke void @f6()
4 to label %ok1 unwind label %lpad1
5
6 ok1:
7 ret void
8
9 lpad1:
10 invoke void @f4()
11 to label %ok2 unwind label %lpad2
12
13 ok2:
14 call void @f8()
15 unreachable
16
17 lpad2:
18 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
19 cleanup
20 unreachable
21 }
22
23 declare void @f3()
24
25 define void @f4() {
26 call void @f3()
27 ret void
28 }
29
30 declare void @f6() nounwind
31
32 declare void @f8()
33
34 declare i32 @__gxx_personality_v0(...)