Home
last modified time | relevance | path

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

/llvm-project-15.0.7/bolt/lib/Core/
H A DBinarySection.cpp70 StringRef SectionContents = getContents(); in emitAsData() local
85 Streamer.emitBytes(SectionContents); in emitAsData()
89 assert(Relocation.Offset < SectionContents.size() && "overflow detected"); in emitAsData()
94 Streamer.emitBytes(SectionContents.substr( in emitAsData()
107 assert(SectionOffset <= SectionContents.size() && "overflow error"); in emitAsData()
108 if (SectionOffset < SectionContents.size()) in emitAsData()
109 Streamer.emitBytes(SectionContents.substr(SectionOffset)); in emitAsData()
H A DBinaryEmitter.cpp511 StringRef SectionContents = BF.getOriginSection()->getContents(); in emitConstantIslands() local
514 StringRef FunctionContents = SectionContents.substr( in emitConstantIslands()
H A DBinaryContext.cpp1166 StringRef SectionContents = Section->getContents(); in handleAArch64Veneer() local
1168 const uint64_t MaxSize = SectionContents.size() - Offset; in handleAArch64Veneer()
1170 reinterpret_cast<const uint8_t *>(SectionContents.data()); in handleAArch64Veneer()
H A DBinaryFunction.cpp970 StringRef SectionContents = Section.getContents(); in getData() local
972 assert(SectionContents.size() == Section.getSize() && in getData()
977 auto *Bytes = reinterpret_cast<const uint8_t *>(SectionContents.data()); in getData()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp204 : CD(CD), SR(SR), SectionContents(SectionContents) { in COFFObjectDumpDelegate()
242 StringRef SectionContents; member in __anonf61e61730111::COFFObjectDumpDelegate
298 assert(SectionContents.data() < RelocPtr && in resolveSymbolName()
299 RelocPtr < SectionContents.data() + SectionContents.size() && in resolveSymbolName()
302 SectionContents.data()); in resolveSymbolName()
323 assert(SectionContents.begin() < Block.begin() && in printBinaryBlockWithRelocs()
324 SectionContents.end() >= Block.end() && in printBinaryBlockWithRelocs()
990 StringRef SectionContents = in printCodeViewSymbolSection() local
992 StringRef Data = SectionContents; in printCodeViewSymbolSection()
1043 if (NextOffset > SectionContents.size()) in printCodeViewSymbolSection()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h51 extern bool SectionContents;
H A Dllvm-objdump.cpp195 bool objdump::SectionContents; member in objdump
2600 if (SectionContents) in dumpObject()
2796 SectionContents = InputArgs.hasArg(OBJDUMP_full_contents); in parseObjdumpOptions()
2961 !Relocations && !SectionHeaders && !SectionContents && !SymbolTable && in main()
H A DMachODump.cpp1983 if (SectionContents) in ProcessMachO()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.cpp533 llvm::Expected<llvm::StringRef> SectionContents = Section.getContents(); in copySwiftReflectionMetadata() local
534 if (!SectionContents) in copySwiftReflectionMetadata()
539 Section, *SectionContents, MO, SectionToOffsetInDwarf, Obj, in copySwiftReflectionMetadata()
545 Streamer->emitSwiftReflectionSection(SectionKind, *SectionContents, in copySwiftReflectionMetadata()
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A Dlldb-test.cpp94 cl::opt<bool> SectionContents("contents", variable
867 if (opts::object::SectionContents) { in dumpSectionList()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp1166 StringRef SectionName, StringRef SectionContents, in updateDebugData() argument
1197 StringRef OutData = SectionContents; in updateDebugData()
H A DRewriteInstance.cpp468 StringRef SectionContents = SectionContentsOrErr.get(); in discoverStorage() local
470 SectionContents.data() - InputFile->getData().data(); in discoverStorage()