• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s
2; PR1833
3
4	%struct.__class_type_info_pseudo = type { %struct.__type_info_pseudo }
5	%struct.__type_info_pseudo = type { i8*, i8* }
6@_ZTI2e1 = external constant %struct.__class_type_info_pseudo		; <%struct.__class_type_info_pseudo*> [#uses=1]
7
8define void @_Z7ex_testv() {
9entry:
10	invoke void @__cxa_throw( i8* null, i8* bitcast (%struct.__class_type_info_pseudo* @_ZTI2e1 to i8*), void (i8*)* null ) noreturn
11			to label %UnifiedUnreachableBlock unwind label %lpad
12
13bb14:		; preds = %lpad
14	unreachable
15
16lpad:		; preds = %entry
17        %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
18                  catch i8* null
19	invoke void @__cxa_end_catch( )
20			to label %bb14 unwind label %lpad17
21
22lpad17:		; preds = %lpad
23        %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
24                  catch i8* null
25	unreachable
26
27UnifiedUnreachableBlock:		; preds = %entry
28	unreachable
29}
30
31declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn
32
33declare i32 @llvm.eh.selector.i32(i8*, i8*, ...)
34
35declare void @__cxa_end_catch()
36
37declare i32 @__gxx_personality_v0(...)
38