Home
last modified time | relevance | path

Searched refs:entsize (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dhash-section.yaml105 # ENT-SIZE: - Name: .hash.entsize.0
109 # ENT-SIZE-NEXT: - Name: .hash.entsize.4.default
112 # ENT-SIZE-NEXT: - Name: .hash.entsize.255
123 - Name: .hash.entsize.0
127 - Name: .hash.entsize.4.default
131 - Name: .hash.entsize.255
H A Dsection-group.yaml41 # 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
H A Dsht-symtab-shndx.yaml192 # 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
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
H A Dmips-abi-flags.yaml82 # 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
H A Drelr-section.yaml68 # RUN: yaml2obj --docnum=3 %s -o %t.entsize
69 # RUN: obj2yaml %t.entsize | FileCheck %s --check-prefix=ENTSIZE
/llvm-project-15.0.7/llvm/test/MC/ELF/
H A Dsection-entsize-changed.s6 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section entsize for .foo, expected: 1
9 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section entsize for .foo, expected: 1
/llvm-project-15.0.7/lld/ELF/
H A DInputSection.h73 uint32_t entsize; variable
95 uint32_t entsize, uint32_t alignment, uint32_t type, in SectionBase() argument
98 alignment(alignment), flags(flags), entsize(entsize), type(type), in SectionBase()
112 uint64_t entsize, uint32_t link, uint32_t info,
269 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
H A DOutputSections.cpp58 shdr->sh_entsize = entsize; in writeHeaderTo()
136 entsize = isec->entsize; in commitSection()
161 if (entsize != isec->entsize) in commitSection()
162 entsize = 0; in commitSection()
211 return sec->flags == ms->flags && sec->entsize == ms->entsize && in finalizeInputSections()
219 syn->entsize = ms->entsize; in finalizeInputSections()
H A DInputSection.cpp53 uint32_t type, uint64_t entsize, in InputSectionBase() argument
57 : SectionBase(sectionKind, name, flags, entsize, alignment, type, info, in InputSectionBase()
1393 uint64_t entsize, ArrayRef<uint8_t> data, in MergeInputSection() argument
1395 : InputSectionBase(nullptr, flags, type, entsize, /*Link*/ 0, /*Info*/ 0, in MergeInputSection()
1396 /*Alignment*/ entsize, data, name, SectionBase::Merge) {} in MergeInputSection()
1408 splitStrings(toStringRef(data()), entsize); in splitIntoPieces()
1410 splitNonStrings(data(), entsize); in splitIntoPieces()
H A DSyntheticSections.cpp98 this->entsize = sizeof(Elf_Mips_ABIFlags); in MipsAbiFlagsSection()
157 this->entsize = sizeof(Elf_Mips_Options) + sizeof(Elf_Mips_RegInfo); in MipsOptionsSection()
218 this->entsize = sizeof(Elf_Mips_RegInfo); in MipsReginfoSection()
1280 this->entsize = ELFT::Is64Bits ? 16 : 8; in DynamicSection()
1559 this->size = computeContents().size() * this->entsize; in finalizeContents()
1749 this->entsize = 1; in AndroidPackedRelocationSection()
1997 this->entsize = config->wordsize; in RelrSection()
2201 this->entsize = sizeof(Elf_Sym); in SymbolTableSection()
2310 this->entsize = 4; in SymtabShndxSection()
2494 this->entsize = 4; in HashTableSection()
[all …]
H A DSyntheticSections.h537 size_t getSize() const override { return relocs.size() * this->entsize; } in getSize()
608 size_t getSize() const override { return relrRelocs.size() * this->entsize; } in getSize()
626 size_t getSize() const override { return getNumSymbols() * entsize; } in getSize()
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/
H A Dmacho-objc-meta-data.test25 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
292 OBJC2_32BIT_EXE: entsize 8
352 OBJC2_32BIT_EXE: entsize 12
450 OBJC2_32BIT_EXE: entsize 12
551 OBJC2_32BIT_OBJ: entsize 12
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Drelocatable-many-sections.s20 ## (sizeof(.symtab) / entsize(.symtab)) * entsize(.symtab_shndx) = 0x4 * 0x180078 / 0x18 == 0x04…
H A Dmerge-align2.s13 ## entsize, but different alignments, we combine them with the maximum input
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/Archives/
H A Dregular.yaml129 # 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
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCClassDescriptorV2.cpp257 uint32_t entsize = extractor.GetU32_unchecked(&cursor); in Read() local
258 m_is_small = (entsize & 0x80000000) != 0; in Read()
259 m_has_direct_selector = (entsize & 0x40000000) != 0; in Read()
260 m_entsize = entsize & 0xfffc; in Read()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dgroup.yaml83 # RUN: yaml2obj %s -DENTSIZE=0xFE -o %t.entsize.o
84 # RUN: llvm-readelf --sections %t.entsize.o | FileCheck %s --check-prefix=ENTSIZE
H A Dhash-section.yaml42 # RUN: yaml2obj --docnum=1 -DENTSIZE=0xFF %s -o %t1.entsize
43 # RUN: llvm-readobj --sections --section-data %t1.entsize | \
H A Drelr-section.yaml90 # RUN: yaml2obj --docnum=3 %s -o %t.entsize
91 # RUN: llvm-readelf --sections %t.entsize | FileCheck %s --check-prefix=ENTSIZE
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Ddyn-symbols-size-from-hash-table.test160 # 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…
245 ## 0x18 is the standard entsize value.
H A Ddynamic-malformed.test47 ## 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
H A Ddyn-symbols.test724 # RUN: yaml2obj %s --docnum=14 -DENTSIZE=0x0 -o %t15.entsize
725 # RUN: llvm-readobj --dyn-symbols %t15.entsize 2>&1 | FileCheck %s -DFILE=%t15.entsize --check-pref…
726 # RUN: llvm-readelf --dyn-symbols %t15.entsize 2>&1 | \
727 # RUN: FileCheck %s -DFILE=%t15.entsize --check-prefix=DYNSYM-ZERO-ENTSIZE-GNU --implicit-check-n…
/llvm-project-15.0.7/lld/ELF/Arch/
H A DX86.cpp222 unsigned relOff = in.relaPlt->entsize * sym.getPltIdx(); in writePlt()
602 unsigned relOff = in.relaPlt->entsize * sym.getPltIdx(); in writePlt()
661 unsigned relOff = in.relaPlt->entsize * sym.getPltIdx(); in writePlt()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dexplicit-section-mergeable.ll52 ;; Assign a symbol with an incompatible entsize (different size) to a section with the same name.
61 ;; Assign a symbol with an incompatible entsize (string vs non-string) to a section with the same n…
69 ;; Assign a symbol with an incompatible entsize (non-mergeable) to a mergeable section created expl…
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DMachODump.cpp3469 uint32_t entsize; member
3475 uint32_t entsize; member
3529 uint32_t entsize; member
3535 uint32_t entsize; member
3557 uint32_t entsize; member
3563 uint32_t entsize; member
3772 sys::swapByteOrder(ml.entsize); in swapStruct()
3777 sys::swapByteOrder(ml.entsize); in swapStruct()
3824 sys::swapByteOrder(il.entsize); in swapStruct()
3829 sys::swapByteOrder(il.entsize); in swapStruct()
[all …]

12