Home
last modified time | relevance | path

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

/external/llvm/lib/MC/
DMachObjectWriter.cpp325 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
335 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
376 write8(SectionIndex); in writeNlist()
547 MSD.SectionIndex = 0; in computeSymbolTable()
550 MSD.SectionIndex = 0; in computeSymbolTable()
553 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
554 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
573 MSD.SectionIndex = 0; in computeSymbolTable()
576 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
577 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
DELFObjectWriter.cpp80 uint32_t SectionIndex; member
92 return SectionIndex < RHS.SectionIndex; in operator <()
498 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol()
813 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
816 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
819 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable()
820 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()
823 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
828 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
829 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
[all …]
DMCAssembler.cpp641 unsigned SectionIndex = 0; in layout() local
648 Sec.setOrdinal(SectionIndex++); in layout()
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h332 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
480 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, in PrintIndexTable() argument
510 errs() << "corrupt unwind data in section " << SectionIndex << "\n"; in PrintIndexTable()
533 FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4); in PrintIndexTable()
550 int SectionIndex = 0; in PrintUnwindInformation() local
555 SW.printNumber("SectionIndex", SectionIndex); in PrintUnwindInformation()
560 PrintIndexTable(SectionIndex, &Sec); in PrintUnwindInformation()
562 ++SectionIndex; in PrintUnwindInformation()
DELFDumper.cpp713 StringRef &SectionName, unsigned &SectionIndex) { in getSectionNameIndex() argument
714 SectionIndex = Symbol->st_shndx; in getSectionNameIndex()
725 else if (Symbol->isReserved() && SectionIndex != SHN_XINDEX) in getSectionNameIndex()
728 if (SectionIndex == SHN_XINDEX) in getSectionNameIndex()
729 SectionIndex = in getSectionNameIndex()
732 unwrapOrError(Obj.getSection(SectionIndex)); in getSectionNameIndex()
2120 unsigned SectionIndex = 0; in printGlobalGotEntry() local
2123 Dumper->getShndxTable(), SectionName, SectionIndex); in printGlobalGotEntry()
2124 W.printHex("Section", SectionName, SectionIndex); in printGlobalGotEntry()
2154 unsigned SectionIndex = 0; in printPLTEntry() local
[all …]
DMachODumper.cpp286 uint8_t SectionIndex; member
372 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
380 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
436 int SectionIndex = -1; in printSections() local
438 ++SectionIndex; in printSections()
452 W.printNumber("Index", SectionIndex); in printSections()
637 W.printHex("Section", SectionName, MOSymbol.SectionIndex); in printSymbol()
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp343 Write8(MSD.SectionIndex); in WriteNlist()
466 MSD.SectionIndex = 0; in ComputeSymbolTable()
469 MSD.SectionIndex = 0; in ComputeSymbolTable()
472 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in ComputeSymbolTable()
473 assert(MSD.SectionIndex && "Invalid section index!"); in ComputeSymbolTable()
502 MSD.SectionIndex = 0; in ComputeSymbolTable()
505 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in ComputeSymbolTable()
506 assert(MSD.SectionIndex && "Invalid section index!"); in ComputeSymbolTable()
DELFObjectWriter.cpp273 Size, Other, MSD.SectionIndex, IsReserved); in WriteSymbol()
607 MSD.SectionIndex = ELF::SHN_COMMON; in ComputeSymbolTable()
609 MSD.SectionIndex = ELF::SHN_ABS; in ComputeSymbolTable()
612 MSD.SectionIndex = SectionIndexMap.lookup(RevGroupMap[&Symbol]); in ComputeSymbolTable()
614 MSD.SectionIndex = ELF::SHN_UNDEF; in ComputeSymbolTable()
618 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in ComputeSymbolTable()
619 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in ComputeSymbolTable()
621 assert(MSD.SectionIndex && "Invalid section index!"); in ComputeSymbolTable()
632 unsigned Skip = MSD.SectionIndex == ELF::SHN_UNDEF ? 2 : 1; in ComputeSymbolTable()
644 if (MSD.SectionIndex == ELF::SHN_UNDEF) in ComputeSymbolTable()
DMCAssembler.cpp573 unsigned SectionIndex = 0; in Finish() local
580 it->setOrdinal(SectionIndex++); in Finish()
DELFObjectWriter.h68 uint32_t SectionIndex; member
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp74 uint8_t SectionIndex, uint16_t Flags,
87 uint8_t Type, uint8_t SectionIndex, uint16_t Flags,
209 uint8_t SectionIndex, uint16_t Flags, in dumpSymTabEntry() argument
253 << format_hex_no_prefix(SectionIndex, 2) << " " in dumpSymTabEntry()
340 uint8_t SectionIndex, in handleStabSymbolTableEntry() argument
/external/boringssl/src/util/fipstools/
Dbreak-hash.go44 var textSectionIndex elf.SectionIndex
47 textSectionIndex = elf.SectionIndex(i)
Dinject-hash.go75 var textSectionIndex elf.SectionIndex
78 textSectionIndex = elf.SectionIndex(i)
/external/swiftshader/third_party/LLVM/tools/macho-dump/
Dmacho-dump.cpp202 uint8_t Type, uint8_t SectionIndex, in DumpSymbolTableEntryData() argument
207 outs() << " ('n_sect', " << uint32_t(SectionIndex) << ")\n"; in DumpSymbolTableEntryData()
247 STE->SectionIndex, STE->Flags, STE->Value); in DumpSymtabCommand()
257 STE->SectionIndex, STE->Flags, STE->Value); in DumpSymtabCommand()
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp100 uint8_t SectionIndex; member
120 S.SectionIndex = STE->SectionIndex; in copySymbol()
429 if ((unsigned)Symbols[SymIdx].SectionIndex - 1 != SectIdx) in DisassembleInputMachO()
437 Symbols[SymIdx].SectionIndex != Symbols[SymIdx+1].SectionIndex) ? in DisassembleInputMachO()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp129 uint64_t SectionIndex = in HexagonMCEmitCommonSymbol() local
133 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp164 if (STE->SectionIndex > SegmentLC->NumSections) in loadSegment32()
171 if ((unsigned)STE->SectionIndex - 1 != SectNum) in loadSegment32()
303 if (STE->SectionIndex > Segment64LC->NumSections) in loadSegment64()
310 if ((unsigned)STE->SectionIndex - 1 != SectNum) in loadSegment64()
/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObjectFile.cpp130 uint8_t SectionIndex; in getSymbolOffset() local
135 SectionIndex = Entry->SectionIndex; in getSymbolOffset()
140 SectionIndex = Entry->SectionIndex; in getSymbolOffset()
142 getSectionAddress(Sections[SectionIndex-1], SectionOffset); in getSymbolOffset()
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachOFormat.h270 uint8_t SectionIndex; member
277 uint8_t SectionIndex; member
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachObjectWriter.h81 uint8_t SectionIndex; member
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h79 uint8_t SectionIndex; member