llvm-project/llvm/test/CodeGen/AArch64/win64-nocfi.ll

14 lines
325 B
LLVM

; RUN: llc < %s -mtriple=aarch64-pc-windows-msvc | FileCheck %s
define dso_local void @"?f@@YAXXZ"() nounwind sspstrong uwtable {
; CHECK-LABEL: f@@YAXXZ
; CHECK-NOT: .seh_proc
; CHECK-NOT: .seh_handlerdata
; CHECK-NOT: .seh_endproc
entry:
call void @llvm.trap()
ret void
}
declare void @llvm.trap() noreturn nounwind