llvm.org GIT mirror llvm / a813b38 test / CodeGen / AArch64 / arm64-trap.ll
a813b38

Tree @a813b38 (Download .tar.gz)

arm64-trap.ll @a813b38raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
define void @foo() nounwind {
; CHECK: foo
; CHECK: brk #0x1
  tail call void @llvm.trap()
  ret void
}
declare void @llvm.trap() nounwind