Searched refs:SectionIndex (Results 1 - 11 of 11) sorted by relevance

/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp140 StringRef &SectionName, unsigned &SectionIndex) {
141 SectionIndex = Symbol->st_shndx;
142 if (SectionIndex == SHN_UNDEF) {
144 } else if (SectionIndex >= SHN_LOPROC && SectionIndex <= SHN_HIPROC) {
146 } else if (SectionIndex >= SHN_LOOS && SectionIndex <= SHN_HIOS) {
148 } else if (SectionIndex > SHN_HIOS && SectionIndex < SHN_ABS) {
150 } else if (SectionIndex
139 getSectionNameIndex(const ELFO &Obj, typename ELFO::Elf_Sym_Iter Symbol, StringRef &SectionName, unsigned &SectionIndex) argument
567 int SectionIndex = -1; local
713 unsigned SectionIndex = 0; local
1205 unsigned SectionIndex = 0; local
[all...]
H A DMachODumper.cpp152 uint8_t SectionIndex; member in struct:__anon26414::MachOSymbol
194 Symbol.SectionIndex = Entry.n_sect;
202 Symbol.SectionIndex = Entry.n_sect;
218 int SectionIndex = -1; local
220 ++SectionIndex;
235 W.printNumber("Index", SectionIndex);
402 W.printHex("Section", SectionName, MOSymbol.SectionIndex);
H A DARMEHABIPrinter.h331 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
460 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, argument
490 errs() << "corrupt unwind data in section " << SectionIndex << "\n";
513 FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4);
530 int SectionIndex = 0; local
532 SI != SE; ++SI, ++SectionIndex) {
538 SW.printNumber("SectionIndex", SectionIndex);
543 PrintIndexTable(SectionIndex, IT);
/external/llvm/lib/MC/
H A DMachObjectWriter.cpp328 uint8_t SectionIndex = MSD.SectionIndex; local
338 SectionIndex = AliaseeInfo->SectionIndex;
393 Write8(SectionIndex);
578 MSD.SectionIndex = 0;
581 MSD.SectionIndex = 0;
584 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection());
585 assert(MSD.SectionIndex && "Invalid section index!");
613 MSD.SectionIndex
[all...]
H A DELFObjectWriter.cpp135 uint32_t SectionIndex; member in struct:__anon25871::ELFObjectWriter::ELFSymbolData
624 MSD.SectionIndex, IsReserved);
1034 MSD.SectionIndex = ELF::SHN_ABS;
1037 MSD.SectionIndex = ELF::SHN_COMMON;
1040 MSD.SectionIndex = SectionIndexMap.lookup(RevGroupMap[&Symbol]);
1042 MSD.SectionIndex = ELF::SHN_UNDEF;
1048 MSD.SectionIndex = SectionIndexMap.lookup(&Section);
1049 assert(MSD.SectionIndex && "Invalid section index!");
1059 unsigned Skip = MSD.SectionIndex == ELF::SHN_UNDEF ? 2 : 1;
1065 if (MSD.SectionIndex
[all...]
H A DMCAssembler.cpp866 unsigned SectionIndex = 0; local
873 it->setOrdinal(SectionIndex++);
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.h205 SectionIndex(const SectionHeaderCollIter &I);
209 SectionIndex(const SectionHeaderCollConstIter &I) const;
H A DObjectFileELF.cpp441 ObjectFileELF::SectionIndex(const SectionHeaderCollIter &I) function in class:ObjectFileELF
447 ObjectFileELF::SectionIndex(const SectionHeaderCollConstIter &I) const function in class:ObjectFileELF
953 SectionIndex(I), // Section ID.
/external/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h87 uint8_t SectionIndex; member in struct:llvm::MachObjectWriter::MachSymbolData
/external/llvm/tools/macho-dump/
H A Dmacho-dump.cpp174 uint8_t Type, uint8_t SectionIndex,
181 outs() << " ('n_sect', " << uint32_t(SectionIndex) << ")\n";
172 DumpSymbolTableEntryData(const MachOObjectFile &Obj, unsigned Index, uint32_t StringIndex, uint8_t Type, uint8_t SectionIndex, uint16_t Flags, uint64_t Value, StringRef StringTable) argument
/external/llvm/lib/Object/
H A DMachOObjectFile.cpp543 uint8_t SectionIndex; local
555 SectionIndex = Entry.n_sect;
556 if (!SectionIndex) {
572 if (Entry.n_sect == SectionIndex && Value > BeginOffset)
579 Sec.d.a = SectionIndex-1;

Completed in 135 milliseconds