• Home
  • Raw
  • Download

Lines Matching full:content

3 ## Check we can describe a SHT_HASH section using the "Content" tag.
8 # RUN: FileCheck %s -DENTSIZE=4 --check-prefix=CONTENT
10 # CONTENT: Name: .hash
11 # CONTENT-NEXT: Type: SHT_HASH
12 # CONTENT-NEXT: Flags [
13 # CONTENT-NEXT: ]
14 # CONTENT-NEXT: Address: 0x0
15 # CONTENT-NEXT: Offset: 0x44
16 # CONTENT-NEXT: Size: 20
17 # CONTENT-NEXT: Link: 1
18 # CONTENT-NEXT: Info: 0
19 # CONTENT-NEXT: AddressAlignment: 0
20 # CONTENT-NEXT: EntrySize: [[ENTSIZE]]{{$}}
21 # CONTENT-NEXT: SectionData (
22 # CONTENT-NEXT: 0000: 01000000 02000000 03000000 04000000
23 # CONTENT-NEXT: 0010: 05000000
24 # CONTENT-NEXT: )
37 Content: '0100000002000000030000000400000005000000'
44 # RUN: FileCheck %s -DENTSIZE=255 --check-prefix=CONTENT
72 ## Check we can't use "Content" and "Bucket" tags together.
74 # RUN: not yaml2obj --docnum=3 %s 2>&1 | FileCheck %s --check-prefix=CONTENT-BUCKET
76 # CONTENT-BUCKET: "Bucket" and "Chain" cannot be used with "Content" or "Size"
87 Content: '00'
89 ## Check we can't use "Content" and "Chain" tags together.
91 # RUN: not yaml2obj --docnum=4 %s 2>&1 | FileCheck %s --check-prefix=CONTENT-CHAIN
93 # CONTENT-CHAIN: "Chain" cannot be used with "Content" or "Size"
104 Content: '00'
137 ## "Content" nor "Size" were set.
175 Content: ""
179 Content: ""
208 ## Check we can use "Size" and "Content" together to create a SHT_HASH section.
211 # RUN: llvm-readobj --sections --section-data %t10 | FileCheck %s --check-prefix=SIZE-CONTENT
213 # SIZE-CONTENT: Name: .hash
214 # SIZE-CONTENT: Size:
215 # SIZE-CONTENT-SAME: 5
216 # SIZE-CONTENT: SectionData (
217 # SIZE-CONTENT-NEXT: 0000: 11223300 00 |
218 # SIZE-CONTENT-NEXT: )
229 Content: "112233"
231 ## Check that when "Size" and "Content" are used together, the size
232 ## must be greater than or equal to the content size.
234 # RUN: not yaml2obj --docnum=11 %s 2>&1 | FileCheck %s --check-prefix=SIZE-CONTENT-ERR
236 # SIZE-CONTENT-ERR: error: Section size must be greater than or equal to the content size
247 Content: "1122"
251 # RUN: not yaml2obj --docnum=12 %s 2>&1 | FileCheck %s --check-prefix=CONTENT-BUCKET
266 # RUN: not yaml2obj --docnum=13 %s 2>&1 | FileCheck %s --check-prefix=CONTENT-CHAIN