Home
last modified time | relevance | path

Searched refs:SectionContents (Results 1 – 15 of 15) sorted by relevance

/llvm-project/bolt/lib/Core/
H A DBinarySection.cpp75 StringRef SectionContents = in emitAsData() local
91 Streamer.emitBytes(SectionContents); in emitAsData()
96 assert(RelocationOffset < SectionContents.size() && "overflow detected"); in emitAsData()
99 Streamer.emitBytes(SectionContents.substr( in emitAsData()
136 assert(SectionOffset <= SectionContents.size() && "overflow error"); in emitAsData()
137 if (SectionOffset < SectionContents.size()) in emitAsData()
138 Streamer.emitBytes(SectionContents.substr(SectionOffset)); in emitAsData()
H A DBinaryEmitter.cpp555 StringRef SectionContents = BF.getOriginSection()->getContents(); in emitConstantIslands()
558 StringRef FunctionContents = SectionContents.substr( in emitConstantIslands()
528 StringRef SectionContents = BF.getOriginSection()->getContents(); emitConstantIslands() local
H A DBinaryContext.cpp1260 StringRef SectionContents = Section->getContents(); in handleAArch64Veneer()
1262 const uint64_t MaxSize = SectionContents.size() - Offset; in handleAArch64Veneer()
1264 reinterpret_cast<const uint8_t *>(SectionContents.data()); in handleAArch64Veneer()
1255 StringRef SectionContents = Section->getContents(); handleAArch64Veneer() local
H A DBinaryFunction.cpp1027 StringRef SectionContents = Section.getContents(); in isZeroPaddingAt()
1029 assert(SectionContents.size() == Section.getSize() &&
1034 auto *Bytes = reinterpret_cast<const uint8_t *>(SectionContents.data()); in handlePCRelOperand()
991 StringRef SectionContents = Section.getContents(); getData() local
/llvm-project/bolt/tools/bat-dump/
H A Dbat-dump.cpp95 StringRef SectionContents; in dumpBATFor() local
108 SectionContents = ContentsOrErr.get(); in dumpBATFor()
117 if (std::error_code EC = BAT.parse(outs(), SectionContents)) { in dumpBATFor()
/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp144 StringRef SectionContents);
163 StringRef SectionContents, StringRef Block);
175 StringRef SectionContents,
203 const COFFObjectFile *Obj, StringRef SectionContents) in COFFObjectDumpDelegate() argument
204 : CD(CD), SR(SR), SectionContents(SectionContents) { in COFFObjectDumpDelegate()
214 return Data.data() - SectionContents.bytes_begin(); in getRecordOffset()
227 CD.printBinaryBlockWithRelocs(Label, SR, SectionContents, SBlock); in printBinaryBlockWithRelocs()
242 StringRef SectionContents; member in __anonb184fbd60111::COFFObjectDumpDelegate
295 StringRef SectionContents, in resolveSymbolName() argument
319 printBinaryBlockWithRelocs(StringRef Label,const SectionRef & Sec,StringRef SectionContents,StringRef Block) printBinaryBlockWithRelocs() argument
1134 StringRef SectionContents = printCodeViewSymbolSection() local
1353 printCodeViewSymbolsSubsection(StringRef Subsection,const SectionRef & Section,StringRef SectionContents) printCodeViewSymbolsSubsection() argument
[all...]
/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp611 StringRef SectionContents) { in traverseTypes()
615 SectionContents); in traverseSymbolsSubsection()
647 StringRef SectionContents = *SectionOrErr; in traverseSymbolSection()
648 StringRef Data = SectionContents; in traverseSymbolSection()
683 size_t SectionOffset = Data.data() - SectionContents.data(); in traverseSymbolSection()
686 if (NextOffset > SectionContents.size()) in traverseSymbolSection()
688 Data = SectionContents.drop_front(NextOffset); in traverseSymbolSection()
693 traverseSymbolsSubsection(Contents, Section, SectionContents)) in traverseSymbolSection()
616 traverseSymbolsSubsection(StringRef Subsection,const SectionRef & Section,StringRef SectionContents) traverseSymbolsSubsection() argument
652 StringRef SectionContents = *SectionOrErr; traverseSymbolSection() local
/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h88 StringRef SectionContents; variable
94 StringRef SectionContents) in LVSymbolVisitorDelegate() argument
95 : Reader(Reader), SectionContents(SectionContents) { in LVSymbolVisitorDelegate()
105 return Data.data() - SectionContents.bytes_begin(); in getRecordOffset()
H A DLVCodeViewReader.h171 StringRef SectionContents);
/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h65 extern bool SectionContents;
H A Dllvm-objdump.cpp319 bool objdump::SectionContents;
3317 if (SectionContents) in dumpObject()
3526 SectionContents = InputArgs.hasArg(OBJDUMP_full_contents); in parseObjdumpOptions()
3734 !Relocations && !SectionHeaders && !SectionContents && !SymbolTable && in llvm_objdump_main()
318 bool objdump::SectionContents; global() member in objdump
H A DMachODump.cpp2177 if (SectionContents) in ProcessMachO()
/llvm-project/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.cpp575 llvm::Expected<llvm::StringRef> SectionContents = Section.getContents(); in copySwiftReflectionMetadata() local
576 if (!SectionContents) in copySwiftReflectionMetadata()
581 Section, *SectionContents, MO, SectionToOffsetInDwarf, Obj, in copySwiftReflectionMetadata()
587 Streamer->emitSwiftReflectionSection(SectionKind, *SectionContents, in copySwiftReflectionMetadata()
/llvm-project/lldb/tools/lldb-test/
H A Dlldb-test.cpp101 cl::opt<bool> SectionContents("contents",
1017 if (opts::object::SectionContents) { in dumpObjectFiles()
99 cl::opt<bool> SectionContents("contents", global() variable
/llvm-project/bolt/lib/Rewrite/
H A DRewriteInstance.cpp561 StringRef SectionContents = SectionContentsOrErr.get(); in discoverStorage()
563 SectionContents.data() - InputFile->getData().data(); in discoverStorage()
558 StringRef SectionContents = SectionContentsOrErr.get(); discoverStorage() local