xref: /llvm-project/llvm/test/CodeGen/AArch64/win64-nocfi.ll (revision afb4e0f289ac6d020faafda078642a3716629abd)
1; RUN: llc < %s -mtriple=aarch64-pc-windows-msvc | FileCheck %s
2
3define dso_local void @"?f@@YAXXZ"() nounwind sspstrong uwtable {
4; CHECK-LABEL: f@@YAXXZ
5; CHECK-NOT: .seh_proc
6; CHECK-NOT: .seh_handlerdata
7; CHECK-NOT: .seh_endproc
8entry:
9  call void @llvm.trap()
10  ret void
11}
12
13declare void @llvm.trap() noreturn nounwind
14
15define dso_local i32 @getValue() nounwind sspstrong uwtable {
16; CHECK-LABEL: getValue
17; CHECK-NOT: .seh_proc
18; CHECK-NOT: .seh_endprologue
19; CHECK-NOT: .seh_startepilogue
20; CHECK-NOT: .seh_endepilogue
21; CHECK-NOT: .seh_endproc
22entry:
23  ret i32 42
24}
25