Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -march=arm | FileCheck %s
      2 target triple = "armv6-apple-macosx10.6"
      3 
      4 declare void @func()
      5 
      6 declare i32 @__gxx_personality_sj0(...)
      7 
      8 define void @test0() {
      9 entry:
     10   invoke void @func()
     11     to label %cont unwind label %lpad
     12 
     13 cont:
     14   ret void
     15 
     16 lpad:
     17   %exn = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)
     18            cleanup
     19   resume { i8*, i32 } %exn
     20 }
     21 
     22 ; CHECK: __Unwind_SjLj_Resume
     23