| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/ |
| H A D | sht-symtab-shndx.yaml | 3 ## 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 D | shstrtab.yaml | 26 ## 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 D | relocation-xindex-symbol.test | 1 ## 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 D | many-sections.s | 6 ## 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 D | section-symbols.test | 124 Index: SHN_XINDEX 128 Index: SHN_XINDEX 132 Index: SHN_XINDEX 136 Index: SHN_XINDEX 163 Index: SHN_XINDEX
|
| H A D | symbol-shndx.test | 88 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 D | symtab-shndx.test | 92 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 D | many-sections2.s | 1 # Tests that symbols whose section index is SHN_XINDEX are displayed
|
| H A D | mips-plt.test | 255 Index: SHN_XINDEX
|
| H A D | file-headers.test | 229 ## Check what we print when e_shnum == 0, e_shstrndx == SHN_XINDEX and the section header table can…
|
| H A D | dyn-symbols.test | 485 …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 D | mips-got.test | 605 Index: SHN_XINDEX
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/ |
| H A D | sht-symtab-shndx.yaml | 2 ## 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 D | many-sections.test | 8 ## 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 D | add-symbol-many-sections.test | 12 ## 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 D | ELFHeader.cpp | 87 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 D | ELF.h | 414 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 D | ELFLinkGraphBuilder.h | 427 if (Shndx == ELF::SHN_XINDEX) { in graphifySymbols()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 642 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 D | ELFObject.h | 629 SYMBOL_XINDEX = ELF::SHN_XINDEX,
|
| /llvm-project-15.0.7/llvm/test/Object/ |
| H A D | invalid.test | 652 ## 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 D | ELF.h | 968 SHN_XINDEX = 0xffff, // Mark that the index is >= SHN_LORESERVE enumerator
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | InputFiles.cpp | 1076 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 D | ELFDumper.cpp | 937 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 D | ELFObjectWriter.cpp | 361 uint16_t Index = LargeIndex ? uint16_t(ELF::SHN_XINDEX) : shndx; in writeSymbol()
|