Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / ELF / cfi-remember.s
blobc7e9a5c92026cb8436c51a2fe073bee75b11094c
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_remember_state{{$}}
5 # ASM-NEXT: nop
7 f:
8 .cfi_startproc
9 nop
10 .cfi_remember_state
11 nop
12 .cfi_restore_state
13 nop
14 .cfi_endproc
16 // CHECK: Section {
17 // CHECK: Index:
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: 48
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 14000000 1C000000
35 // CHECK-NEXT: 0020: 00000000 03000000 00410A41 0B000000
36 // CHECK-NEXT: )
37 // CHECK-NEXT: }
38 // CHECK: Section {
39 // CHECK: Index:
40 // CHECK-NEXT: Name: .rela.eh_frame
41 // CHECK-NEXT: Type: SHT_RELA
42 // CHECK-NEXT: Flags [
43 // CHECK-NEXT: SHF_INFO_LINK
44 // CHECK-NEXT: ]
45 // CHECK-NEXT: Address: 0x0
46 // CHECK-NEXT: Offset:
47 // CHECK-NEXT: Size: 24
48 // CHECK-NEXT: Link:
49 // CHECK-NEXT: Info:
50 // CHECK-NEXT: AddressAlignment: 8
51 // CHECK-NEXT: EntrySize: 24
52 // CHECK-NEXT: Relocations [
53 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x0
54 // CHECK-NEXT: ]
55 // CHECK: }