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 %s 5 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 i8* 10 11define void @_Z3fn2v() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { 12entry: 13 invoke void @_Z3fn1v() 14 to label %try.cont unwind label %lpad 15 16lpad: ; preds = %entry 17 %0 = landingpad { i8*, i32 } 18 catch i8* bitcast (i8** @_ZTIi to i8*) 19 %1 = extractvalue { i8*, i32 } %0, 1 20 %2 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*)) #2 21 %matches = icmp eq i32 %1, %2 22 br i1 %matches, label %catch, label %eh.resume 23 24catch: ; preds = %lpad 25 %3 = extractvalue { i8*, i32 } %0, 0 26 %4 = tail call i8* @__cxa_begin_catch(i8* %3) #2 27 tail call void @__cxa_end_catch() #2 28 br label %try.cont 29 30try.cont: ; preds = %entry, %catch 31 ret void 32 33eh.resume: ; preds = %lpad 34 resume { i8*, i32 } %0 35} 36 37declare void @_Z3fn1v() #0 38 39declare i32 @__gxx_personality_v0(...) 40 41; Function Attrs: nounwind readnone 42declare i32 @llvm.eh.typeid.for(i8*) #1 43 44declare i8* @__cxa_begin_catch(i8*) 45 46declare void @__cxa_end_catch() 47 48attributes #0 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } 49attributes #1 = { nounwind readnone } 50attributes #2 = { nounwind } 51