Home | History | Annotate | Download | only in ARM
      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 
      6 declare void @func()
      7 
      8 declare i32 @__gxx_personality_sj0(...)
      9 
     10 define void @test0() personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) {
     11 entry:
     12   invoke void @func()
     13     to label %cont unwind label %lpad
     14 
     15 cont:
     16   ret void
     17 
     18 lpad:
     19   %exn = landingpad { i8*, i32 }
     20            cleanup
     21   resume { i8*, i32 } %exn
     22 }
     23 
     24 ; IOS: __Unwind_SjLj_Resume
     25 ; WATCHABI: __Unwind_Resume
     26