1; RUN: opt -mtriple=x86_64-linux-gnu -dwarfehprepare -S %s | FileCheck %s 2 3declare i32 @hoge(...) 4 5; Check that 'resume' is lowered to _Unwind_Resume which marked as 'noreturn' 6define void @pluto() align 2 personality i8* bitcast (i32 (...)* @hoge to i8*) { 7;CHECK: call void @_Unwind_Resume(i8* %exn.obj) [[A:#.*]] 8;CHECK: attributes [[A]] = { noreturn } 9bb: 10 invoke void @spam() 11 to label %bb1 unwind label %bb2 12 13bb1: ; preds = %bb 14 ret void 15 16bb2: ; preds = %bb 17 %tmp = landingpad { i8*, i32 } 18 cleanup 19 resume { i8*, i32 } %tmp 20 21} 22 23declare void @spam() 24