blob: 6e18a81bcfc398c00a39327bd6b923a573ffd174 [file] [log] [blame]
Bill Wendlingc5fb9d82011-08-25 01:19:13 +00001; RUN: llvm-as < %s | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5@_ZTIc = external constant i8*
6@_ZTId = external constant i8*
7@_ZTIPKc = external constant i8*
8
9define void @_Z3barv() uwtable optsize ssp {
10entry:
11 invoke void @_Z3quxv() optsize
12 to label %try.cont unwind label %lpad
13
14try.cont: ; preds = %entry, %invoke.cont4
15 ret void
16
17lpad: ; preds = %entry
18 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
19 cleanup
20 catch i8** @_ZTIc
21 filter [2 x i8**] [i8** @_ZTIPKc, i8** @_ZTId]
22 resume { i8*, i32 } %exn
23}
24
25declare void @_Z3quxv() optsize
26
27declare i32 @__gxx_personality_v0(...)