Home
last modified time | relevance | path

Searched refs:SecData (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFListTableTest.cpp18 static const char SecData[] = "\x33\x22\x11"; // Truncated DWARF32 length in TEST() local
19 DWARFDataExtractor Extractor(StringRef(SecData, sizeof(SecData) - 1), in TEST()
37 static const char SecData[] = in TEST() local
40 DWARFDataExtractor Extractor(StringRef(SecData, sizeof(SecData) - 1), in TEST()
58 static const char SecData[] = "\x02\x00\x00\x00" // Length in TEST() local
60 DWARFDataExtractor Extractor(StringRef(SecData, sizeof(SecData) - 1), in TEST()
77 static const char SecData[] = "\x10\x00\x00\x00" // Length in TEST() local
87 DWARFDataExtractor Extractor(StringRef(SecData, sizeof(SecData) - 1), in TEST()
99 EXPECT_EQ(Header.length(), sizeof(SecData) - 1); in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp153 Expected<StringRef> SecData = Sec.getContents(); in setConfigToAddNewDebugSections() local
154 if (!SecData) in setConfigToAddNewDebugSections()
155 return SecData.takeError(); in setConfigToAddNewDebugSections()
158 *SecName, MemoryBuffer::getMemBuffer(*SecData, *SecName, false))); in setConfigToAddNewDebugSections()
/llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h82 void emitSectionContents(StringRef SecData, StringRef SecName) override;
H A DDWARFLinker.h93 virtual void emitSectionContents(StringRef SecData, StringRef SecName) = 0;
/llvm-project-15.0.7/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h65 SecData = 1 << 6, enumerator
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp123 if (AllFlags & SectionFlag::SecData) in flagsToCharacteristics()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp190 void DwarfStreamer::emitSectionContents(StringRef SecData, StringRef SecName) { in emitSectionContents() argument
205 MS->emitBytes(SecData); in emitSectionContents()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3132 readMipsOptions(const uint8_t *SecBegin, ArrayRef<uint8_t> &SecData, in readMipsOptions() argument
3134 if (SecData.size() < sizeof(Elf_Mips_Options<ELFT>)) in readMipsOptions()
3136 Twine::utohexstr(SecData.size()) + ")"); in readMipsOptions()
3139 reinterpret_cast<const Elf_Mips_Options<ELFT> *>(SecData.data()); in readMipsOptions()
3141 if (Size > SecData.size()) { in readMipsOptions()
3142 const uint64_t Offset = SecData.data() - SecBegin; in readMipsOptions()
3143 const uint64_t SecSize = Offset + SecData.size(); in readMipsOptions()
3163 SecData = SecData.drop_front(Size); in readMipsOptions()
/llvm-project-15.0.7/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp184 .CaseLower("data", SectionFlag::SecData) in parseSectionRenameFlag()