Home
last modified time | relevance | path

Searched refs:SectionIndex (Results 1 – 12 of 12) sorted by relevance

/external/llvm/tools/llvm-readobj/
DELFDumper.cpp140 StringRef &SectionName, unsigned &SectionIndex) { in getSectionNameIndex() argument
141 SectionIndex = Symbol->st_shndx; in getSectionNameIndex()
142 if (SectionIndex == SHN_UNDEF) { in getSectionNameIndex()
144 } else if (SectionIndex >= SHN_LOPROC && SectionIndex <= SHN_HIPROC) { in getSectionNameIndex()
146 } else if (SectionIndex >= SHN_LOOS && SectionIndex <= SHN_HIOS) { in getSectionNameIndex()
148 } else if (SectionIndex > SHN_HIOS && SectionIndex < SHN_ABS) { in getSectionNameIndex()
150 } else if (SectionIndex == SHN_ABS) { in getSectionNameIndex()
152 } else if (SectionIndex == SHN_COMMON) { in getSectionNameIndex()
155 if (SectionIndex == SHN_XINDEX) in getSectionNameIndex()
156 SectionIndex = Obj.getSymbolTableIndex(&*Symbol); in getSectionNameIndex()
[all …]
DARMEHABIPrinter.h331 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
460 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, in PrintIndexTable() argument
490 errs() << "corrupt unwind data in section " << SectionIndex << "\n"; in PrintIndexTable()
513 FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4); in PrintIndexTable()
530 int SectionIndex = 0; in PrintUnwindInformation() local
532 SI != SE; ++SI, ++SectionIndex) { in PrintUnwindInformation()
538 SW.printNumber("SectionIndex", SectionIndex); in PrintUnwindInformation()
543 PrintIndexTable(SectionIndex, IT); in PrintUnwindInformation()
DMachODumper.cpp286 uint8_t SectionIndex; member
328 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
336 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
392 int SectionIndex = -1; in printSections() local
394 ++SectionIndex; in printSections()
409 W.printNumber("Index", SectionIndex); in printSections()
578 W.printHex("Section", SectionName, MOSymbol.SectionIndex); in printSymbol()
/external/llvm/lib/MC/
DMachObjectWriter.cpp329 uint8_t SectionIndex = MSD.SectionIndex; in WriteNlist() local
339 SectionIndex = AliaseeInfo->SectionIndex; in WriteNlist()
394 Write8(SectionIndex); in WriteNlist()
568 MSD.SectionIndex = 0; in ComputeSymbolTable()
571 MSD.SectionIndex = 0; in ComputeSymbolTable()
574 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in ComputeSymbolTable()
575 assert(MSD.SectionIndex && "Invalid section index!"); in ComputeSymbolTable()
596 MSD.SectionIndex = 0; in ComputeSymbolTable()
599 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in ComputeSymbolTable()
600 assert(MSD.SectionIndex && "Invalid section index!"); in ComputeSymbolTable()
DELFObjectWriter.cpp105 uint32_t SectionIndex; member
117 return SectionIndex < RHS.SectionIndex; in operator <()
601 MSD.SectionIndex, IsReserved); in WriteSymbol()
1006 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
1009 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
1012 MSD.SectionIndex = SectionIndexMap.lookup(RevGroupMap.lookup(&Symbol)); in computeSymbolTable()
1014 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
1020 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
1021 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
1057 unsigned Skip = MSD.SectionIndex == ELF::SHN_UNDEF ? 2 : 1; in computeSymbolTable()
[all …]
DMCAssembler.cpp905 unsigned SectionIndex = 0; in Finish() local
912 it->setOrdinal(SectionIndex++); in Finish()
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp64 uint8_t SectionIndex, uint16_t Flags,
138 uint8_t SectionIndex, in handleStabSymbolTableEntry() argument
/external/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.h205 SectionIndex(const SectionHeaderCollIter &I);
209 SectionIndex(const SectionHeaderCollConstIter &I) const;
DObjectFileELF.cpp441 ObjectFileELF::SectionIndex(const SectionHeaderCollIter &I) in SectionIndex() function in ObjectFileELF
447 ObjectFileELF::SectionIndex(const SectionHeaderCollConstIter &I) const in SectionIndex() function in ObjectFileELF
953 SectionIndex(I), // Section ID. in CreateSections()
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp174 uint8_t Type, uint8_t SectionIndex, in DumpSymbolTableEntryData() argument
181 outs() << " ('n_sect', " << uint32_t(SectionIndex) << ")\n"; in DumpSymbolTableEntryData()
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h86 uint8_t SectionIndex; member
/external/llvm/lib/Object/
DMachOObjectFile.cpp420 uint8_t SectionIndex; in getSymbolSize() local
432 SectionIndex = Entry.n_sect; in getSymbolSize()
433 if (!SectionIndex) { in getSymbolSize()
449 if (Entry.n_sect == SectionIndex && Value > BeginOffset) in getSymbolSize()
455 Sec.d.a = SectionIndex-1; in getSymbolSize()