Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lld/wasm/
H A DOutputSections.cpp99 void DataSection::finalizeContents() { in finalizeContents()
168 void DataSection::writeTo(uint8_t *buf) { in writeTo()
193 uint32_t DataSection::getNumRelocations() const { in getNumRelocations()
201 void DataSection::writeRelocations(raw_ostream &os) const { in writeRelocations()
207 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.cpp137 } else if (auto *data = dyn_cast<DataSection>(osec)) { in writeMapFile()
H A DWriter.cpp422 addSection(make<DataSection>(segments)); in addSections()
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp29 DataSection = Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
128 return DataSection; in SelectSectionForGlobal()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h36 return DataSection; in getExplicitSectionGlobal()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCObjectFileInfo.cpp91 DataSection // .data in initMachOMCObjectFileInfo()
169 DataCoalSection = DataSection; in initMachOMCObjectFileInfo()
386 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
570 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
835 DataSection = Ctx->getWasmSection(".data", SectionKind::getData()); in initWasmMCObjectFileInfo()
929 DataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
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.getAlignment())); in addData()
721 for (const MCFragment &Frag : DataSection) { in addData()
1645 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject() local
1646 if (!DataSection.isWasmData()) in writeOneObject()
1653 DataSection.getSegmentIndex(), Layout.getSymbolOffset(WS), in writeOneObject()
1754 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject() local
1764 DataSegments[DataSection.getSegmentIndex()]; in writeOneObject()
1768 DataSection.getSegmentIndex(), in writeOneObject()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h59 MCSection *DataSection = nullptr; variable
268 MCSection *getDataSection() const { return DataSection; } in getDataSection()
/llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsTargetStreamer.cpp897 MCSection &DataSection = *OFI.getDataSection(); in finish() local
898 MCA.registerSection(DataSection); in finish()
903 DataSection.setAlignment(Align(std::max(16u, DataSection.getAlignment()))); in finish()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
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()
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()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h396 struct DataSection : Section { struct
397 DataSection() : Section(wasm::WASM_SEC_DATA) {} in DataSection() function
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1249 auto &DataSection = Obj->addSection<Section>(Data); in addData() local
1250 DataSection.Name = ".data"; in addData()
1251 DataSection.Type = ELF::SHT_PROGBITS; in addData()
1252 DataSection.Size = Data.size(); in addData()
1253 DataSection.Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE; in addData()
1261 SymTab->addSymbol(Prefix + "_start", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1263 SymTab->addSymbol(Prefix + "_end", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1264 /*Value=*/DataSection.Size, NewSymbolVisibility, 0, 0); in addData()
1266 /*Value=*/DataSection.Size, NewSymbolVisibility, SHN_ABS, in addData()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DBinaryPasses.cpp1151 ErrorOr<BinarySection &> DataSection = in simplifyRODataLoads() local
1153 if (!DataSection || !DataSection->isReadOnly()) in simplifyRODataLoads()
1160 uint32_t Offset = TargetAddress - DataSection->getAddress(); in simplifyRODataLoads()
1161 StringRef ConstantData = DataSection->getContents(); in simplifyRODataLoads()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp2029 uint32_t DataSection = data.getAddressSection(); in GetCompilandId() local
2031 if (DataSection == 0) { in GetCompilandId()
2033 m_session_up->addressForRVA(RVA, DataSection, DataOffset); in GetCompilandId()
2036 if (DataSection) { in GetCompilandId()
2038 auto &sec_cs = m_sec_contribs[DataSection]; in GetCompilandId()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp217 DataSection, enumerator
763 if (CurrentState != DataSection) { in CheckDataSection()
769 CurrentState = DataSection; in CheckDataSection()
/llvm-project-15.0.7/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp386 return DataSection; in getSectionForConstant()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DWasm.h297 uint32_t DataSection = 0; variable
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp367 auto DataSec = std::make_unique<WasmYAML::DataSection>(); in dump()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp1360 return DataSection; in SelectSectionForGlobal()
1723 return DataSection; in SelectSectionForGlobal()
2388 return DataSection; in SelectSectionForGlobal()
/llvm-project-15.0.7/llvm/lib/Object/
H A DWasmObjectFile.cpp1511 DataSection = Sections.size(); in parseDataSection()
1704 return DataSection; in getSymbolSectionIdImpl()