• Home
  • Raw
  • Download

Lines Matching full:content

1 ## Check how "Content", "Size" and "Entries" keys can be used to
2 ## describe a content for relocations sections.
4 ## Check we can use the "Content" key with the "Size" key when the size is greater
5 ## than or equal to the content size.
8 # RUN: FileCheck %s --check-prefix=CONTENT-SIZE-ERR
10 # CONTENT-SIZE-ERR: error: Section size must be greater than or equal to the content size
24 Content: [[CONTENT=<none>]]
29 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="0011"
33 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="001100"
35 # CHECK-CONTENT: Name: .rela
36 # CHECK-CONTENT-NEXT: Type: SHT_RELA
37 # CHECK-CONTENT-NEXT: Flags [
38 # CHECK-CONTENT-NEXT: ]
39 # CHECK-CONTENT-NEXT: Address:
40 # CHECK-CONTENT-NEXT: Offset:
41 # CHECK-CONTENT-NEXT: Size:
42 # CHECK-CONTENT-NEXT: Link: 1
43 # CHECK-CONTENT-NEXT: Info: 2
44 # CHECK-CONTENT-NEXT: AddressAlignment:
45 # CHECK-CONTENT-NEXT: EntrySize: 3
46 # CHECK-CONTENT-NEXT: SectionData (
47 # CHECK-CONTENT-NEXT: 0000: [[DATA]] |
48 # CHECK-CONTENT-NEXT: )
54 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="000000"
56 ## Check we can use the "Content" key alone to create the section.
58 # RUN: yaml2obj -DCONTENT="'112233'" %s -o %t.content.o
59 # RUN: llvm-readobj --sections --section-data %t.content.o | \
60 # RUN: FileCheck %s --check-prefix=CHECK-CONTENT -DDATA="112233"
62 ## Check we can't use the "Relocations" key together with the "Content" or "Size" keys.
69 # REL-ERR: error: "Relocations" cannot be used with "Content" or "Size"
71 ## Check we create an empty section when none of "Size", "Content" or "Relocations" are specified.