1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
25 - Type: R_WASM_MEMORY_ADDR_I32
29 - Type: R_WASM_MEMORY_ADDR_I32
47 # CHECK: Version: 0x00000001
50 # CHECK-NEXT: Relocations:
51 # CHECK-NEXT: - Type: R_WASM_MEMORY_ADDR_I32
52 # CHECK-NEXT: Index: 0
53 # CHECK-NEXT: Offset: 0x00000006
54 # CHECK-NEXT: Addend: 8
55 # CHECK-NEXT: - Type: R_WASM_MEMORY_ADDR_I32
56 # CHECK-NEXT: Index: 0
57 # CHECK-NEXT: Offset: 0x00000006
58 # CHECK-NEXT: Addend: -6
59 # CHECK-NEXT: Segments:
60 # CHECK-NEXT: - SectionOffset: 6
61 # CHECK-NEXT: InitFlags: 0
63 # CHECK-NEXT: Opcode: I32_CONST
64 # CHECK-NEXT: Value: 4
65 # CHECK-NEXT: Content: '10001000'
66 # CHECK-NEXT: - SectionOffset: 12
67 # CHECK-NEXT: InitFlags: 1
68 # CHECK-NEXT: Content: '01010101'
69 # CHECK-NEXT: - SectionOffset: 22
70 # CHECK-NEXT: InitFlags: 2
71 # CHECK-NEXT: MemoryIndex: 0
73 # CHECK-NEXT: Opcode: I32_CONST
74 # CHECK-NEXT: Value: 8
75 # CHECK-NEXT: Content: '00110011'
76 # CHECK-NEXT: - Type: CUSTOM