• Home
  • Raw
  • Download

Lines Matching full:content

78 ## Check we can use "Content" to describe the content.
81 # RUN: llvm-readobj --sections --section-data %t2 | FileCheck %s --check-prefix=CONTENT
83 # CONTENT: Name: .gnu.version_d
84 # CONTENT-NEXT: Type: SHT_GNU_verdef
85 # CONTENT-NEXT: Flags [ (0x2)
86 # CONTENT-NEXT: SHF_ALLOC (0x2)
87 # CONTENT-NEXT: ]
88 # CONTENT-NEXT: Address: 0x0
89 # CONTENT-NEXT: Offset: 0x40
90 # CONTENT-NEXT: Size: 3
91 # CONTENT-NEXT: Link: 0
92 # CONTENT-NEXT: Info: 1
93 # CONTENT-NEXT: AddressAlignment:
94 # CONTENT-NEXT: EntrySize:
95 # CONTENT-NEXT: SectionData (
96 # CONTENT-NEXT: 0000: 112233
97 # CONTENT-NEXT: )
109 Content: "112233"
111 ## Check we can omit "Content" and "Entries" fields to produce an empty SHT_GNU_verdef section.
130 ## Check we can use the "Content" key with the "Size" key when the size is greater
131 ## than or equal to the content size.
134 # RUN: FileCheck %s --check-prefix=CONTENT-SIZE-ERR
136 # CONTENT-SIZE-ERR: error: Section size must be greater than or equal to the content size
148 Content: [[CONTENT=<none>]]
153 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="0011"
157 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="001100"
159 # CHECK-CONTENT: Name: .gnu.version_d
160 # CHECK-CONTENT: SectionData (
161 # CHECK-CONTENT-NEXT: 0000: [[DATA]] |
162 # CHECK-CONTENT-NEXT: )
168 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="000000"
170 ## Check we can use the "Content" key alone to create the section.
172 # RUN: yaml2obj --docnum=4 -DCONTENT="'112233'" %s -o %t.content.o
173 # RUN: llvm-readobj --sections --section-data %t.content.o | \
174 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="112233"
176 ## Check we can't use the "Entries" key together with the "Content" or "Size" keys.
183 # ENTRIES-ERR: error: "Entries" cannot be used with "Content" or "Size"