Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp46 Entry.SectionIndex = -1ULL; in extract()
51 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
81 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
88 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
95 if (E.SectionIndex == -1ULL) in getAbsoluteRanges()
96 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
DDWARFDebugRnglists.cpp38 SectionIndex = -1ULL; in extract()
77 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
86 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
92 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
117 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
122 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
123 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
124 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
DDWARFDie.cpp72 if (SectionNames.empty() || R.SectionIndex == -1ULL) in dumpRanges()
75 StringRef Name = SectionNames[R.SectionIndex].Name; in dumpRanges()
79 if (!SectionNames[R.SectionIndex].IsNameUnique) in dumpRanges()
80 OS << format(" [%" PRIu64 "]", R.SectionIndex); in dumpRanges()
378 uint64_t &SectionIndex) const { in getLowAndHighPC()
386 SectionIndex = F->getSectionIndex(); in getLowAndHighPC()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h25 uint64_t SectionIndex; member
30 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
31 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
/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 …]
/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-7.0/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h349 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
499 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, in PrintIndexTable() argument
529 errs() << "corrupt unwind data in section " << SectionIndex << "\n"; in PrintIndexTable()
552 FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4); in PrintIndexTable()
569 int SectionIndex = 0; in PrintUnwindInformation() local
574 SW.printNumber("SectionIndex", SectionIndex); in PrintUnwindInformation()
579 PrintIndexTable(SectionIndex, &Sec); in PrintUnwindInformation()
581 ++SectionIndex; in PrintUnwindInformation()
DELFDumper.cpp270 unsigned &SectionIndex) const;
792 unsigned &SectionIndex) const { in getSectionNameIndex()
793 SectionIndex = Symbol->st_shndx; in getSectionNameIndex()
804 else if (Symbol->isReserved() && SectionIndex != SHN_XINDEX) in getSectionNameIndex()
807 if (SectionIndex == SHN_XINDEX) in getSectionNameIndex()
808 SectionIndex = unwrapOrError(object::getExtendedSymbolTableIndex<ELFT>( in getSectionNameIndex()
811 unwrapOrError(Obj->getSection(SectionIndex)); in getSectionNameIndex()
2876 size_t SectionIndex = 0; in printSections() local
2911 Number = to_string(SectionIndex); in printSections()
2945 ++SectionIndex; in printSections()
[all …]
DObjDumper.cpp38 long SectionIndex = strtol(SecName.data(), &StrPtr, 10); in getSecNameOrIndexAsSecRef() local
54 } else if (SecIndex == SectionIndex) in getSecNameOrIndexAsSecRef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMachObjectWriter.cpp342 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
352 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
393 W.OS << char(SectionIndex); in writeNlist()
564 MSD.SectionIndex = 0; in computeSymbolTable()
567 MSD.SectionIndex = 0; in computeSymbolTable()
570 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
571 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
590 MSD.SectionIndex = 0; in computeSymbolTable()
593 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
594 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
DELFObjectWriter.cpp118 uint32_t SectionIndex; member
130 return SectionIndex < RHS.SectionIndex; in operator <()
551 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol()
656 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
659 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
662 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable()
663 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()
666 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
673 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
674 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
[all …]
/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()
/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)
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DMachODebugMapParser.cpp77 uint8_t SectionIndex, uint16_t Flags,
90 uint8_t Type, uint8_t SectionIndex, uint16_t Flags,
227 uint8_t SectionIndex, uint16_t Flags, in dumpSymTabEntry() argument
273 << format_hex_no_prefix(SectionIndex, 2) in dumpSymTabEntry()
373 uint8_t SectionIndex, in handleStabSymbolTableEntry() argument
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp31 uint32_t SectionIndex);
429 uint32_t SectionIndex) { in writeRelocSection() argument
452 encodeULEB128(SectionIndex, OS); in writeRelocSection()
540 uint32_t SectionIndex = 0; in writeWasm() local
543 SectionIndex++; in writeWasm()
550 writeRelocSection(StringStream, *Sec, SectionIndex++); in writeWasm()
/external/boringssl/src/util/fipstools/inject_hash/
Dinject_hash.go78 var textSectionIndex elf.SectionIndex
81 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-7.0/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()

123