Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / cfi-zero-addr-delta.s
blobb53e75e946e86e218b03c376ee98ed2760741afd
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sr --sd - | FileCheck %s
3 // Test that we don't produce a DW_CFA_advance_loc 0
5 f:
6 .cfi_startproc
7 nop
8 .cfi_def_cfa_offset 16
9 nop
10 .cfi_remember_state
11 .cfi_def_cfa_offset 8
12 nop
13 .cfi_restore_state
14 nop
15 .cfi_endproc
17 // CHECK: Section {
18 // CHECK: Name: .eh_frame
19 // CHECK-NEXT: Type: SHT_X86_64_UNWIND
20 // CHECK-NEXT: Flags [
21 // CHECK-NEXT: SHF_ALLOC
22 // CHECK-NEXT: ]
23 // CHECK-NEXT: Address: 0x0
24 // CHECK-NEXT: Offset: 0x48
25 // CHECK-NEXT: Size: 56
26 // CHECK-NEXT: Link: 0
27 // CHECK-NEXT: Info: 0
28 // CHECK-NEXT: AddressAlignment: 8
29 // CHECK-NEXT: EntrySize: 0
30 // CHECK-NEXT: Relocations [
31 // CHECK-NEXT: ]
32 // CHECK-NEXT: SectionData (
33 // CHECK-NEXT: 0000: 14000000 00000000 017A5200 01781001
34 // CHECK-NEXT: 0010: 1B0C0708 90010000 1C000000 1C000000
35 // CHECK-NEXT: 0020: 00000000 04000000 00410E10 410A0E08
36 // CHECK-NEXT: 0030: 410B0000 00000000
37 // CHECK-NEXT: )
38 // CHECK-NEXT: }
40 // CHECK: Section {
41 // CHECK: Name: .rela.eh_frame
42 // CHECK-NEXT: Type: SHT_RELA
43 // CHECK-NEXT: Flags [
44 // CHECK-NEXT: SHF_INFO_LINK
45 // CHECK-NEXT: ]
46 // CHECK-NEXT: Address: 0x0
47 // CHECK-NEXT: Offset:
48 // CHECK-NEXT: Size: 24
49 // CHECK-NEXT: Link:
50 // CHECK-NEXT: Info:
51 // CHECK-NEXT: AddressAlignment: 8
52 // CHECK-NEXT: EntrySize: 24
53 // CHECK-NEXT: Relocations [
54 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x0
55 // CHECK-NEXT: ]