[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ELF / cfi-restore-extended.s
blobe7371089934d9911751a70416037cde518c814f8
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-dwarfdump -debug-frame - | FileCheck %s
3 // Check that register numbers greater than 63 can be used in .cfi_restore directives
4 f:
5 .cfi_startproc
6 nop
7 // CHECK: DW_CFA_advance_loc: 1
8 .cfi_restore %rbp
9 // CHECK-NEXT: DW_CFA_restore: reg6
10 nop
11 // CHECK-NEXT: DW_CFA_advance_loc: 1
12 .cfi_restore 89
13 // CHECK-NEXT: DW_CFA_restore_extended: reg89
14 // CHECK-NEXT: DW_CFA_nop:
15 nop
16 .cfi_endproc