brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · e868209 Raw
30 lines · plain
1; RUN: llc < %s -mtriple=x86_64-pc-windows-msvc | FileCheck %s2; EHCont Guard is currently only available on Windows3 4; CHECK: @feat.00 = 163845 6; CHECK: .section .gehcont$y7 8define dso_local void @"?func1@@YAXXZ"() #0 personality ptr @__CxxFrameHandler3 {9entry:10  invoke void @"?func2@@YAXXZ"()11          to label %invoke.cont unwind label %catch.dispatch12catch.dispatch:                                   ; preds = %entry13  %0 = catchswitch within none [label %catch] unwind to caller14catch:                                            ; preds = %catch.dispatch15  %1 = catchpad within %0 [ptr null, i32 64, ptr null]16  catchret from %1 to label %catchret.dest17catchret.dest:                                    ; preds = %catch18  br label %try.cont19try.cont:                                         ; preds = %catchret.dest, %invoke.cont20  ret void21invoke.cont:                                      ; preds = %entry22  br label %try.cont23}24 25declare dso_local void @"?func2@@YAXXZ"() #126declare dso_local i32 @__CxxFrameHandler3(...)27 28!llvm.module.flags = !{!0}29!0 = !{i32 1, !"ehcontguard", i32 1}30