summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/eh-frame-unreachable.ll
blob: a7abc8a057fb984140e74ae844d97ed5001a6bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
; Test that we don't emit a row that extends beyond the FDE's range_size.
;
; CHECK: movq	%rsp, %rbp
; CHECK-NEXT:	.cfi_endproc
; CHECK-NOT: .cfi

define void @f() #0 {
  unreachable
}
attributes #0 = { "no-frame-pointer-elim"="true" }