xref: /minix3/external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-reg.s (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -o - | FileCheck %s
2*f4a2713aSLionel Sambuc// PR13754
3*f4a2713aSLionel Sambuc
4*f4a2713aSLionel Sambucf:
5*f4a2713aSLionel Sambuc	.cfi_startproc
6*f4a2713aSLionel Sambuc        nop
7*f4a2713aSLionel Sambuc	.cfi_offset 6, -16
8*f4a2713aSLionel Sambuc        nop
9*f4a2713aSLionel Sambuc	.cfi_offset %rsi, -16
10*f4a2713aSLionel Sambuc        nop
11*f4a2713aSLionel Sambuc	.cfi_offset rbx, -16
12*f4a2713aSLionel Sambuc        nop
13*f4a2713aSLionel Sambuc	.cfi_endproc
14*f4a2713aSLionel Sambuc
15*f4a2713aSLionel Sambuc// CHECK: f:
16*f4a2713aSLionel Sambuc// CHECK: .cfi_offset %rbp, -16
17*f4a2713aSLionel Sambuc// CHECK: .cfi_offset %rsi, -16
18*f4a2713aSLionel Sambuc// CHECK: .cfi_offset %rbx, -16
19