Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / cfi-def-cfa-offset.s
blob58edcd4aeed18c2f460ada4166fd803cfc3ca6ef
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sr --sd - | FileCheck %s
3 f:
4 .cfi_startproc
5 subq $8, %rsp
6 .cfi_def_cfa_offset 16
7 nop
8 addq $8, %rsp
9 .cfi_def_cfa_offset 8
10 ret
11 .cfi_endproc
13 // CHECK: Section {
14 // CHECK: Index:
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: 0x50
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 0A000000 00440E10 450E0800
33 // CHECK-NEXT: )
34 // CHECK-NEXT: }
36 // CHECK: Section {
37 // CHECK: Index:
38 // CHECK: Name: .rela.eh_frame
39 // CHECK-NEXT: Type: SHT_RELA
40 // CHECK-NEXT: Flags [
41 // CHECK-NEXT: SHF_INFO_LINK
42 // CHECK-NEXT: ]
43 // CHECK-NEXT: Address: 0x0
44 // CHECK-NEXT: Offset:
45 // CHECK-NEXT: Size: 24
46 // CHECK-NEXT: Link:
47 // CHECK-NEXT: Info:
48 // CHECK-NEXT: AddressAlignment: 8
49 // CHECK-NEXT: EntrySize: 24
50 // CHECK-NEXT: Relocations [
51 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x0
52 // CHECK-NEXT: ]
53 // CHECK: }