/llvm-project/llvm/test/tools/obj2yaml/ELF/ |
H A D | mips-abi-flags.yaml | 54 ## We don't print the "EntSize" key, because 0x18 is the default value 61 ## We print the "EntSize" key, because 0x7000002A only means 63 # NOT-MIPS-NEXT: EntSize: 0x18 78 EntSize: [[ENTSIZE=0x18]] 80 ## Check we dump the "EntSize" key when the value of the "sh_entsize" field is not equal to 0x18. 82 # RUN: yaml2obj %s --docnum=2 -DMACHINE=EM_MIPS -DENTSIZE=0x19 -o %t2.mips.entsize 83 # RUN: obj2yaml %t2.mips.entsize | FileCheck %s --check-prefix=MIPS-ENTSIZE 85 # MIPS-ENTSIZE: - Name: .MIPS.abiflags 86 # MIPS-ENTSIZE-NEXT: Type: SHT_MIPS_ABIFLAGS 87 # MIPS-ENTSIZE-NEXT: EntSize: 0x19
|
H A D | hash-section.yaml | 99 ## Check how we dump the "EntSize" field. When the sh_entsize is 4, 105 # ENT-SIZE: - Name: .hash.entsize.0 107 # ENT-SIZE-NEXT: EntSize: 0x0 109 # ENT-SIZE-NEXT: - Name: .hash.entsize.4.default 112 # ENT-SIZE-NEXT: - Name: .hash.entsize.255 114 # ENT-SIZE-NEXT: EntSize: 0xFF 123 - Name: .hash.entsize.0 125 EntSize: 0 127 - Name: .hash.entsize.4.default 129 EntSize: 4 [all …]
|
H A D | relr-section.yaml | 68 # RUN: yaml2obj --docnum=3 %s -o %t.entsize 69 # RUN: obj2yaml %t.entsize | FileCheck %s --check-prefix=ENTSIZE 71 # ENTSIZE: - Name: .relr.dyn 72 # ENTSIZE-NEXT: Type: SHT_RELR 73 # ENTSIZE-NEXT: EntSize: 0xFE 74 # ENTSIZE-NEXT: Content: '1122334455667788' 75 # ENTSIZE-NEXT: ... 85 EntSize: 0xFE
|
H A D | section-group.yaml | 4 ## Check we don't dump the "EntSize" key when sh_entsize == 4. 28 EntSize: [[ENTSIZE=<none>]] 41 # RUN: yaml2obj %s -DENTSIZE=0xfe -o %t1.entsize.o 42 # RUN: not obj2yaml %t1.entsize.o 2>&1 | \ 43 # RUN: FileCheck %s -DFILE=%t1.entsize.o --check-prefix=ENTSIZE 45 # ENTSIZE: Error reading file: [[FILE]]: section [index 1] has invalid sh_entsize: expected 4, but …
|
H A D | sht-symtab-shndx.yaml | 133 EntSize: 4 192 # RUN: yaml2obj -DENTSIZE=0xff --docnum=7 %s -o %t7.entsize.bad 193 # RUN: not obj2yaml %t7.entsize.bad 2>&1 | \ 194 # RUN: FileCheck %s -DFILE=%t7.entsize.bad --check-prefix=CASE7-BAD 198 ## Check we don't print the "EntSize" field when the "sh_entsize" field has the default value. 200 # RUN: yaml2obj -DENTSIZE=4 --docnum=7 %s -o %t7.entsize.ok 201 # RUN: obj2yaml %t7.entsize.ok | FileCheck %s -DFILE=%t7.entsize.ok --check-prefix=CASE7 217 EntSize: [[ENTSIZE]]
|
H A D | entsize.yaml | 3 ## Check we don't dump the "EntSize" key for SHT_SYMTAB/SHT_DYNSYM sections 11 # CHECK-NEXT: EntSize: 0x4 29 EntSize: 0x4 32 EntSize: [[SYMTABES=0x18]] 35 EntSize: [[DYNSYMES=0x18]]
|
H A D | call-graph-profile-section.yaml | 82 # INVALID-NEXT: EntSize: 0x0 88 # INVALID-NEXT: EntSize: 0x1 136 ## Check that in these cases we print the "EntSize" key. 139 EntSize: 0 144 EntSize: 1
|
H A D | null-section.yaml | 18 # FIRST-SEC-NEXT: EntSize: 0x5 38 EntSize: 0x5 61 # SECOND-SEC-NEXT: EntSize: 0x5 81 EntSize: 0x5
|
/llvm-project/llvm/test/tools/obj2yaml/ELF/DWARF/ |
H A D | debug-str.yaml | 37 # RUN: FileCheck %s --check-prefixes=BASIC,COMMON,ENTSIZE \ 38 # RUN: -DTYPE=PROGBITS -DFLAGS="[ SHF_MERGE, SHF_STRINGS ]" -D#%x,ADDRALIGN=1 -D#%x,ENTSIZE=3 42 # RUN: FileCheck %s --check-prefixes=BASIC,COMMON,ENTSIZE \ 43 # RUN: -DTYPE=PROGBITS -DFLAGS="[ SHF_MERGE, SHF_STRINGS ]" -D#%x,ADDRALIGN=1 -D#%x,ENTSIZE=0 48 …-DTYPE=PROGBITS -DFLAGS="[ SHF_MERGE, SHF_STRINGS ]" -D#%x,INFO=3 -D#%x,ADDRALIGN=1 -D#%x,ENTSIZE=1 60 EntSize: [[ENTSIZE=1]] 78 # ENTSIZE-NEXT: EntSize: 0x[[#%x,ENTSIZE]]
|
/llvm-project/lld/test/ELF/ |
H A D | gdb-index-invalid-section-index.yaml | 27 EntSize: 0x0000000000000018 45 EntSize: 0x0000000000000001 59 EntSize: 0x0000000000000018 80 EntSize: 0x0000000000000018 94 EntSize: 0x0000000000000018 108 EntSize: 0x0000000000000001
|
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | group.yaml | 22 EntSize: [[ENTSIZE=<none>]] 83 # RUN: yaml2obj %s -DENTSIZE=0xFE -o %t.entsize.o 84 # RUN: llvm-readelf --sections %t.entsize.o | FileCheck %s --check-prefix=ENTSIZE 86 # ENTSIZE: [Nr] Name Type Address Off Size ES Flg 87 # ENTSIZE: [ 1] .group GROUP 0000000000000000 000040 000000 fe 1
|
H A D | reloc-sec-entry-size.yaml | 43 EntSize: 0xFF 46 EntSize: 0xFF 49 EntSize: 0xFF 52 EntSize: 0xFF
|
H A D | relr-section.yaml | 90 # RUN: yaml2obj --docnum=3 %s -o %t.entsize 91 # RUN: llvm-readelf --sections %t.entsize | FileCheck %s --check-prefix=ENTSIZE 93 # ENTSIZE: [Nr] Name Type Address Off Size ES 94 # ENTSIZE: [ 1] .relr.dyn RELR 00000000 000034 000001 34 104 EntSize: 0x34 155 EntSize: 0xff
|
H A D | custom-null-section.yaml | 37 EntSize: 0x0 62 EntSize: 0x3 89 EntSize: 0x3 117 EntSize: 0x0 174 EntSize: 0x10
|
/llvm-project/llvm/test/tools/llvm-objdump/X86/ |
H A D | plt-got.test | 106 EntSize: 0x10 114 EntSize: 0x8 127 EntSize: 0x8 185 EntSize: 0x4 193 EntSize: 0x8 206 EntSize: 0x4 213 EntSize: 0x4
|
/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | dynamic-malformed.test | 47 ## Test handling of a .dynamic section with an invalid entsize (i.e. not 2 * sizeof(Elf_Dyn)). 48 # RUN: yaml2obj %s --docnum=2 -o %t.bad-entsize 49 # RUN: llvm-readobj --dynamic-table %t.bad-entsize | FileCheck %s --check-prefix BAD-ENTSIZE-LLVM 50 # RUN: llvm-readelf --dynamic-table %t.bad-entsize | FileCheck %s --check-prefix BAD-ENTSIZE-GNU 52 # BAD-ENTSIZE-LLVM: DynamicSection [ (2 entries) 53 # BAD-ENTSIZE-LLVM-NEXT: Tag Type Name/Value 54 # BAD-ENTSIZE-LLVM-NEXT: 0x0000000000000015 DEBUG 0x0 55 # BAD-ENTSIZE-LLVM-NEXT: 0x0000000000000000 NULL 0x0 56 # BAD-ENTSIZE-LLVM-NEXT: ] 58 # BAD-ENTSIZE-GNU: Dynamic section at offset 0x{{.*}} contains 2 entries: [all …]
|
H A D | dyn-symbols-size-from-hash-table.test | 160 # RUN: yaml2obj --docnum=2 %s -o %t2-zero-entsize -DCHAIN="[1, 2, 3, 4]" -DENTSIZE=0 161 # RUN: llvm-readobj --dyn-symbols %t2-zero-entsize 2>&1 | \ 162 # RUN: FileCheck %s -DFILE=%t2-zero-entsize --check-prefixes=LLVM2,LLVM2-MORE,LLVM2-ALL,WARN-ENTS… 164 # RUN: llvm-readelf --dyn-symbols %t2-zero-entsize 2>&1 | \ 165 # RUN: FileCheck %s -DFILE=%t2-zero-entsize --check-prefixes=GNU2,GNU2-MORE,GNU2-ALL,WARN-ENTSIZE… 168 ## WARN-ENTSIZE: warning: '[[FILE]]': SHT_DYNSYM section has sh_entsize == 0 245 ## 0x18 is the standard entsize value. 246 EntSize: [[ENTSIZE=0x18]]
|
H A D | symbols.test | 211 EntSize: [[ENTSIZE=0x18]] 225 # RUN: FileCheck %s -DFILE=%t64.err2 --check-prefix=SYMTAB-ENTSIZE-ERR-LLVM 227 # RUN: FileCheck %s -DFILE=%t64.err2 --check-prefix=SYMTAB-ENTSIZE-ERR-GNU 229 # SYMTAB-ENTSIZE-ERR-LLVM: Symbols [ 230 # SYMTAB-ENTSIZE-ERR-LLVM-NEXT: warning: '[[FILE]]': unable to read symbols from the SHT_SYMTAB s… 231 # SYMTAB-ENTSIZE-ERR-LLVM: ] 233 # SYMTAB-ENTSIZE-ERR-GNU: warning: '[[FILE]]': unable to read symbols from the SHT_SYMTAB secti… 234 # SYMTAB-ENTSIZE-ERR-GNU-NOT: {{.}}
|
/llvm-project/llvm/test/tools/llvm-gsymutil/X86/ |
H A D | elf-dwarf.yaml | 165 EntSize: 0x0000000000000002 188 EntSize: 0x0000000000000018 199 EntSize: 0x0000000000000018 216 EntSize: 0x0000000000000010 259 EntSize: 0x0000000000000008 266 EntSize: 0x0000000000000008 280 EntSize: 0x0000000000000010 345 EntSize: 0x0000000000000008 352 EntSize: 0x0000000000000008 370 EntSize: 0x0000000000000001 [all …]
|
/llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
H A D | macho-objc-meta-data.test | 25 OBJC2_64BIT_EXE: entsize 24 67 OBJC2_64BIT_EXE: entsize 24 89 OBJC2_64BIT_EXE: entsize 16 149 OBJC2_64BIT_OBJ: entsize 24 171 OBJC2_64BIT_OBJ: entsize 16 230 OBJC2_32BIT_EXE: entsize 12 283 OBJC2_32BIT_EXE: entsize 20 292 OBJC2_32BIT_EXE: entsize 8 352 OBJC2_32BIT_EXE: entsize 12 401 OBJC2_32BIT_EXE: entsize 20 [all …]
|
/llvm-project/llvm/test/Object/ |
H A D | multiple-sections.yaml | 25 EntSize: 24 53 EntSize: 8 57 EntSize: 8
|
H A D | invalid.test | 132 EntSize: 32 152 EntSize: 32 180 # RUN: FileCheck -DFILE=%t9 --implicit-check-not=warning: --check-prefix=INVALID-SH-ENTSIZE %s 182 # INVALID-SH-ENTSIZE: LoadName: <Not found> 183 # INVALID-SH-ENTSIZE-NEXT: error: '[[FILE]]': unable to continue dumping, the file is corrupt: inva… 214 ## sizeof(.symtab_shndx) = (sizeof(.symtab) / entsize(.symtab)) * entsize(.symtab_shndx) 237 # RUN: FileCheck -DFILE=%p/Inputs/invalid-e_shnum.elf --check-prefix=INVALID-PH-ENTSIZE %s 239 # INVALID-PH-ENTSIZE: warning: '[[FILE]]': unable to dump program headers: invalid e_phentsize: 123… 468 … -DFILE=%p/Inputs/corrupt-invalid-relocation-size.elf.x86-64 --check-prefix=RELOC-BROKEN-ENTSIZE %s 470 # RELOC-BROKEN-ENTSIZE: warning: '[[FILE]]': invalid DT_RELASZ value (0x18) or DT_RELAENT value (0x… [all …]
|
/llvm-project/llvm/test/tools/obj2yaml/Archives/ |
H A D | regular.yaml | 129 # RUN: yaml2obj %s --docnum=5 -DSIZE='x' -o %t.entsize.a 130 # RUN: not obj2yaml %t.entsize.a 2>&1 | \ 131 # RUN: FileCheck %s -DFILE=%t.entsize.a --check-prefix=ENTSIZE-ERR 133 # ENTSIZE-ERR: Error reading file: [[FILE]]: unable to read the size of a child at offset 0x8 as in…
|
/llvm-project/lld/ELF/ |
H A D | OutputSections.cpp | 56 shdr->sh_entsize = entsize; in getPhdrFlags() 71 /*info=*/0, /*addralign=*/1, /*entsize=*/0), in writeHeaderTo() 150 // initialize type, entsize and flags from isec. in commitSection() 152 entsize = isec->entsize; in commitSection() 178 if (entsize != isec->entsize) in createMergeSynthetic() 179 entsize = 0; in createMergeSynthetic() 220 // values of Entsize, it is better to take Entsize int in finalizeInputSections() [all...] |
/llvm-project/lld/test/MachO/ |
H A D | objc-category-merging-complete-test.s | 28 MERGE_CATS-NEXT: entsize 24 43 MERGE_CATS-NEXT: entsize 24 64 MERGE_CATS-NEXT: entsize 24 81 MERGE_CATS-NEXT: entsize 24 94 MERGE_CATS-NEXT: entsize 16 126 MERGE_CATS_CLS-NEXT: entsize 24 159 MERGE_CATS_CLS-NEXT: entsize 24 176 MERGE_CATS_CLS-NEXT: entsize 24 193 MERGE_CATS_CLS-NEXT: entsize 24 209 MERGE_CATS_CLS-NEXT: entsize 3 [all...] |