1; RUN: llc < %s -mtriple=aarch64-windows | FileCheck %s 2; EHCont Guard is currently only available on Windows 3 4; CHECK: .set "@feat.00", 16384 5 6; CHECK: .section .gehcont$y 7 8define dso_local void @"?func1@@YAXXZ"() #0 personality ptr @__CxxFrameHandler3 { 9entry: 10 invoke void @"?func2@@YAXXZ"() 11 to label %invoke.cont unwind label %catch.dispatch 12catch.dispatch: ; preds = %entry 13 %0 = catchswitch within none [label %catch] unwind to caller 14catch: ; preds = %catch.dispatch 15 %1 = catchpad within %0 [ptr null, i32 64, ptr null] 16 catchret from %1 to label %catchret.dest 17catchret.dest: ; preds = %catch 18 br label %try.cont 19try.cont: ; preds = %catchret.dest, %invoke.cont 20 ret void 21invoke.cont: ; preds = %entry 22 br label %try.cont 23} 24 25declare dso_local void @"?func2@@YAXXZ"() #1 26declare dso_local i32 @__CxxFrameHandler3(...) 27 28!llvm.module.flags = !{!0} 29!0 = !{i32 1, !"ehcontguard", i32 1} 30