Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / cfi-def-cfa-register.s
bloba9e0e6369505c6c2c06dc1d38f4e19c91671faac
1 # RUN: llvm-mc -triple x86_64 %s | FileCheck %s --check-prefix=ASM
2 # RUN: llvm-mc -filetype=obj -triple x86_64 %s | llvm-readobj -S --sr --sd - | FileCheck %s
4 # ASM: .cfi_def_cfa_register %rbp{{$}}
5 # ASM-NEXT: nop
7 f:
8 .cfi_startproc
9 nop
10 .cfi_def_cfa_register 6
11 nop
12 .cfi_endproc
14 // CHECK: Section {
15 // CHECK: Name: .eh_frame
16 // CHECK-NEXT: Type: SHT_X86_64_UNWIND
17 // CHECK-NEXT: Flags [
18 // CHECK-NEXT: SHF_ALLOC
19 // CHECK-NEXT: ]
20 // CHECK-NEXT: Address: 0x0
21 // CHECK-NEXT: Offset: 0x48
22 // CHECK-NEXT: Size: 48
23 // CHECK-NEXT: Link: 0
24 // CHECK-NEXT: Info: 0
25 // CHECK-NEXT: AddressAlignment: 8
26 // CHECK-NEXT: EntrySize: 0
27 // CHECK-NEXT: Relocations [
28 // CHECK-NEXT: ]
29 // CHECK-NEXT: SectionData (
30 // CHECK-NEXT: 0000: 14000000 00000000 017A5200 01781001
31 // CHECK-NEXT: 0010: 1B0C0708 90010000 14000000 1C000000
32 // CHECK-NEXT: 0020: 00000000 02000000 00410D06 00000000
33 // CHECK-NEXT: )
34 // CHECK-NEXT: }
36 // CHECK: Section {
37 // CHECK: Name: .rela.eh_frame
38 // CHECK-NEXT: Type: SHT_RELA
39 // CHECK-NEXT: Flags [
40 // CHECK-NEXT: SHF_INFO_LINK
41 // CHECK-NEXT: ]
42 // CHECK-NEXT: Address: 0x0
43 // CHECK-NEXT: Offset:
44 // CHECK-NEXT: Size: 24
45 // CHECK-NEXT: Link:
46 // CHECK-NEXT: Info:
47 // CHECK-NEXT: AddressAlignment: 8
48 // CHECK-NEXT: EntrySize: 24
49 // CHECK-NEXT: Relocations [
50 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x0
51 // CHECK-NEXT: ]
52 // CHECK: }