Home
last modified time | relevance | path

Searched refs:SHN_XINDEX (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dsht-symtab-shndx.yaml3 ## section index == SHN_XINDEX.
23 # CASE1-NEXT: Index: SHN_XINDEX
26 # CASE1-NEXT: Index: SHN_XINDEX
43 Index: SHN_XINDEX
45 Index: SHN_XINDEX
62 Index: SHN_XINDEX
87 Index: SHN_XINDEX
112 Index: SHN_XINDEX
141 Index: SHN_XINDEX
144 Index: SHN_XINDEX
[all …]
H A Dshstrtab.yaml26 ## Show the case when the e_shstrndx value is SHN_XINDEX and the name is not
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/
H A Drelocation-xindex-symbol.test1 ## Test that llvm-objdump can handle SHN_XINDEX. The relocation points to a section
2 ## symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
37 Index: SHN_XINDEX
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dmany-sections.s6 ## should have the value of SHN_XINDEX and sh_link of the section header
25 EShStrNdx: 0xffff ## SHN_XINDEX
45 # GNU2-NEXT: warning: '[[FILE]]': e_shstrndx == SHN_XINDEX, but the section header table is empty
63 EShStrNdx: 0xffff ## SHN_XINDEX
H A Dsection-symbols.test124 Index: SHN_XINDEX
128 Index: SHN_XINDEX
132 Index: SHN_XINDEX
136 Index: SHN_XINDEX
163 Index: SHN_XINDEX
H A Dsymbol-shndx.test88 Index: SHN_XINDEX
217 Index: SHN_XINDEX
219 Index: SHN_XINDEX
221 Index: SHN_XINDEX
224 ## indexes of SHN_XINDEX print as Reserved symbols.
254 Index: SHN_XINDEX
256 Index: SHN_XINDEX
313 - Index: SHN_XINDEX
H A Dsymtab-shndx.test92 Index: SHN_XINDEX
94 Index: SHN_XINDEX
97 Index: SHN_XINDEX
99 Index: SHN_XINDEX
320 Index: SHN_XINDEX
322 Index: SHN_XINDEX
H A Dmany-sections2.s1 # Tests that symbols whose section index is SHN_XINDEX are displayed
H A Dmips-plt.test255 Index: SHN_XINDEX
H A Dfile-headers.test229 ## Check what we print when e_shnum == 0, e_shstrndx == SHN_XINDEX and the section header table can…
H A Ddyn-symbols.test485 …rint a proper warning when an unnamed versioned section symbol has st_shndx = SHN_XINDEX, but there
487 # RUN: yaml2obj %s -DTYPE=STT_SECTION -DNAME="''" -DINDEX_BBB=SHN_XINDEX --docnum=6 -o %t6.sec.xind…
H A Dmips-got.test605 Index: SHN_XINDEX
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dsht-symtab-shndx.yaml2 ## when a symbol with section index SHN_XINDEX is used,
20 Index: SHN_XINDEX
24 ## Also, check that symbols in .symtab still have the SHN_XINDEX index.
37 ## ^-- 0xFFFF here is a SHN_XINDEX.
65 Index: SHN_XINDEX
90 Index: SHN_XINDEX
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dmany-sections.test8 ## The ELF header should have e_shnum == 0 and e_shstrndx == SHN_XINDEX.
82 ## st_shndx == SHN_XINDEX.
91 ## st_shndx > SHN_XINDEX.
H A Dadd-symbol-many-sections.test12 ## newsym5 = is in a section with index == SHN_XINDEX.
13 ## newsym6 = is in a section with index > SHN_XINDEX.
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp87 result |= e_shstrndx_hdr == SHN_XINDEX; in HasHeaderExtension()
109 if (e_shstrndx_hdr == SHN_XINDEX) in ParseHeaderExtension()
300 ENUM_TO_CSTR(SHN_XINDEX); in sectionIndexToCString()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELF.h414 assert(Sym.st_shndx == ELF::SHN_XINDEX); in getExtendedSymbolTableIndex()
433 if (Index == ELF::SHN_XINDEX) { in getSectionIndex()
639 if (Index == ELF::SHN_XINDEX) { in getSectionStringTable()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELFLinkGraphBuilder.h427 if (Shndx == ELF::SHN_XINDEX) { in graphifySymbols()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp642 return SHN_XINDEX; in getShndx()
1523 if (Sym.st_shndx == SHN_XINDEX) { in initSymbolTable()
1757 if (ShstrIndex == SHN_XINDEX) { in readSections()
1987 Ehdr.e_shstrndx = SHN_XINDEX; in writeEhdr()
H A DELFObject.h629 SYMBOL_XINDEX = ELF::SHN_XINDEX,
/llvm-project-15.0.7/llvm/test/Object/
H A Dinvalid.test652 ## Check the case when e_shstrndx == SHN_XINDEX, but null section's sh_link contains
666 ## SHN_XINDEX == 0xffff.
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DELF.h968 SHN_XINDEX = 0xffff, // Mark that the index is >= SHN_LORESERVE enumerator
/llvm-project-15.0.7/lld/ELF/
H A DInputFiles.cpp1076 if (LLVM_UNLIKELY(secIdx == SHN_XINDEX)) in initializeLocalSymbols()
1135 if (LLVM_UNLIKELY(secIdx == SHN_XINDEX)) in postParse()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp937 if (Ndx == SHN_XINDEX) in getSymbolSectionIndex()
3276 if (ElfHeader.e_shstrndx != SHN_XINDEX) in getSectionHeaderTableIndexString()
3793 case ELF::SHN_XINDEX: { in getSymbolSectionNdx()
3797 assert(Symbol.st_shndx == SHN_XINDEX && in getSymbolSectionNdx()
6690 if (Symbol.isReserved() && Symbol.st_shndx != SHN_XINDEX) in printSymbolSection()
6703 assert(Symbol.st_shndx == SHN_XINDEX && in printSymbolSection()
6707 W.printHex("Section", "Reserved", SHN_XINDEX); in printSymbolSection()
/llvm-project-15.0.7/llvm/lib/MC/
H A DELFObjectWriter.cpp361 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()

12