Home
last modified time | relevance | path

Searched refs:DataSection (Results 1 – 23 of 23) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolData.cpp39 uint32_t DataSection = RawSymbol->getAddressSection(); in getCompilandId() local
41 if (DataSection == 0) { in getCompilandId()
43 Session.addressForRVA(RVA, DataSection, DataOffset); in getCompilandId()
46 if (DataSection) { in getCompilandId()
49 if (Section->getAddressSection() == DataSection && in getCompilandId()
/openbsd/gnu/llvm/lld/wasm/
H A DOutputSections.cpp99 void DataSection::finalizeContents() { in finalizeContents()
167 void DataSection::writeTo(uint8_t *buf) { in writeTo()
192 uint32_t DataSection::getNumRelocations() const { in getNumRelocations()
200 void DataSection::writeRelocations(raw_ostream &os) const { in writeRelocations()
206 bool DataSection::isNeeded() const { in isNeeded()
H A DOutputSections.h79 class DataSection : public OutputSection {
81 explicit DataSection(ArrayRef<OutputSegment *> segments) in DataSection() function
H A DMapFile.cpp136 } else if (auto *data = dyn_cast<DataSection>(osec)) { in writeMapFile()
H A DWriter.cpp441 addSection(make<DataSection>(segments)); in addSections()
/openbsd/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp29 DataSection = Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
128 return DataSection; in SelectSectionForGlobal()
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h32 return DataSection; in getExplicitSectionGlobal()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DWasmObjectWriter.cpp716 MCSectionWasm &DataSection) { in addData() argument
717 LLVM_DEBUG(errs() << "addData: " << DataSection.getName() << "\n"); in addData()
719 DataBytes.resize(alignTo(DataBytes.size(), DataSection.getAlign())); in addData()
721 for (const MCFragment &Frag : DataSection) { in addData()
1638 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject() local
1639 if (!DataSection.isWasmData()) in writeOneObject()
1646 DataSection.getSegmentIndex(), Layout.getSymbolOffset(WS), in writeOneObject()
1747 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject() local
1757 DataSegments[DataSection.getSegmentIndex()]; in writeOneObject()
1761 DataSection.getSegmentIndex(), in writeOneObject()
H A DMCObjectFileInfo.cpp87 DataSection // .data in initMachOMCObjectFileInfo()
165 DataCoalSection = DataSection; in initMachOMCObjectFileInfo()
385 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
569 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
834 DataSection = Ctx->getWasmSection(".data", SectionKind::getData()); in initWasmMCObjectFileInfo()
928 DataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h56 MCSection *DataSection = nullptr; variable
264 MCSection *getDataSection() const { return DataSection; } in getDataSection()
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp50 void writeSectionContent(raw_ostream &OS, WasmYAML::DataSection &Section);
547 WasmYAML::DataSection &Section) { in writeSectionContent()
637 else if (auto S = dyn_cast<WasmYAML::DataSection>(Sec.get())) in writeWasm()
H A DWasmYAML.cpp155 static void sectionMapping(IO &IO, WasmYAML::DataSection &Section) { in sectionMapping()
266 Section.reset(new WasmYAML::DataSection()); in mapping()
267 sectionMapping(IO, *cast<WasmYAML::DataSection>(Section.get())); in mapping()
/openbsd/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h396 struct DataSection : Section { struct
397 DataSection() : Section(wasm::WASM_SEC_DATA) {} in DataSection() argument
/openbsd/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1270 auto &DataSection = Obj->addSection<Section>(Data); in addData() local
1271 DataSection.Name = ".data"; in addData()
1272 DataSection.Type = ELF::SHT_PROGBITS; in addData()
1273 DataSection.Size = Data.size(); in addData()
1274 DataSection.Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE; in addData()
1282 SymTab->addSymbol(Prefix + "_start", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1284 SymTab->addSymbol(Prefix + "_end", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1285 /*Value=*/DataSection.Size, NewSymbolVisibility, 0, 0); in addData()
1287 /*Value=*/DataSection.Size, NewSymbolVisibility, SHN_ABS, in addData()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp2039 uint32_t DataSection = data.getAddressSection(); in GetCompilandId() local
2041 if (DataSection == 0) { in GetCompilandId()
2043 m_session_up->addressForRVA(RVA, DataSection, DataOffset); in GetCompilandId()
2046 if (DataSection) { in GetCompilandId()
2048 auto &sec_cs = m_sec_contribs[DataSection]; in GetCompilandId()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp218 DataSection, enumerator
765 if (CurrentState != DataSection) { in CheckDataSection()
771 CurrentState = DataSection; in CheckDataSection()
/openbsd/gnu/llvm/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp386 return DataSection; in getSectionForConstant()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsTargetStreamer.cpp897 MCSection &DataSection = *OFI.getDataSection(); in finish() local
898 MCA.registerSection(DataSection); in finish()
903 DataSection.ensureMinAlignment(Align(16)); in finish()
/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DWasm.h297 uint32_t DataSection = 0; variable
/openbsd/gnu/llvm/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp698 for (const auto& DataSection : MemMgr.DataMemory) in remapSectionsAndSymbols() local
699 Worklist.push_back(&DataSection); in remapSectionsAndSymbols()
/openbsd/gnu/llvm/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp367 auto DataSec = std::make_unique<WasmYAML::DataSection>(); in dump()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp1394 return DataSection; in SelectSectionForGlobal()
1757 return DataSection; in SelectSectionForGlobal()
2439 return DataSection; in SelectSectionForGlobal()
/openbsd/gnu/llvm/llvm/lib/Object/
H A DWasmObjectFile.cpp1503 DataSection = Sections.size(); in parseDataSection()
1696 return DataSection; in getSymbolSectionIdImpl()