1; RUN: llc < %s -mtriple=armv7-apple-ios -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=IOS 2; RUN: llc < %s -mtriple=armv7-apple-watchos -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=IOS 3; RUN: llc < %s -mtriple=armv7k-apple-ios -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=WATCHABI 4; RUN: llc < %s -mtriple=armv7k-apple-watchos -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=WATCHABI 5 6declare void @func() 7 8declare i32 @__gxx_personality_sj0(...) 9 10define void @test0() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) { 11entry: 12 invoke void @func() 13 to label %cont unwind label %lpad 14 15cont: 16 ret void 17 18lpad: 19 %exn = landingpad { i8*, i32 } 20 cleanup 21 resume { i8*, i32 } %exn 22} 23 24; IOS: __Unwind_SjLj_Resume 25; WATCHABI: __Unwind_Resume 26