aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/cfi-reg.s
blob: fd68d6d5ad07ee38b73540e4cf8ed93c6b6cdb5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -o - | FileCheck %s
// PR13754

f:
	.cfi_startproc
        nop
	.cfi_offset 6, -16
        nop
	.cfi_offset %rsi, -16
        nop
	.cfi_offset rbx, -16
        nop
	.cfi_endproc

// CHECK: f:
// CHECK: .cfi_offset %rbp, -16
// CHECK: .cfi_offset %rsi, -16
// CHECK: .cfi_offset %rbx, -16