51 lines · plain
1; Assertion `Encoding == DW_EH_PE_absptr && "Can handle absptr encoding only"' failed.2; Broken in r208166, fixed in 208715.3 4; RUN: llc -mtriple=arm-linux-androideabi -o - -filetype=asm -relocation-model=pic -simplifycfg-require-and-preserve-domtree=1 %s5 6target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"7target triple = "armv4t--linux-androideabi"8 9@_ZTIi = external constant ptr10 11define void @_Z3fn2v() #0 personality ptr @__gxx_personality_v0 {12entry:13 invoke void @_Z3fn1v()14 to label %try.cont unwind label %lpad15 16lpad: ; preds = %entry17 %0 = landingpad { ptr, i32 }18 catch ptr @_ZTIi19 %1 = extractvalue { ptr, i32 } %0, 120 %2 = tail call i32 @llvm.eh.typeid.for(ptr @_ZTIi) #221 %matches = icmp eq i32 %1, %222 br i1 %matches, label %catch, label %eh.resume23 24catch: ; preds = %lpad25 %3 = extractvalue { ptr, i32 } %0, 026 %4 = tail call ptr @__cxa_begin_catch(ptr %3) #227 tail call void @__cxa_end_catch() #228 br label %try.cont29 30try.cont: ; preds = %entry, %catch31 ret void32 33eh.resume: ; preds = %lpad34 resume { ptr, i32 } %035}36 37declare void @_Z3fn1v() #038 39declare i32 @__gxx_personality_v0(...)40 41; Function Attrs: nounwind readnone42declare i32 @llvm.eh.typeid.for(ptr) #143 44declare ptr @__cxa_begin_catch(ptr)45 46declare void @__cxa_end_catch()47 48attributes #0 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="true" }49attributes #1 = { nounwind readnone }50attributes #2 = { nounwind }51