summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/arm64-trap.ll
blob: 5e99c32c57b3d0ded157e2ba3026c2f4d6583025 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -march=arm64 | FileCheck %s
define void @foo() nounwind {
; CHECK: foo
; CHECK: brk #0x1
  tail call void @llvm.trap()
  ret void
}
declare void @llvm.trap() nounwind