Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp29 DataSection = Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
128 return DataSection; in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h32 return DataSection; in getExplicitSectionGlobal()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp690 MCSectionWasm &DataSection) { in addData() argument
691 LLVM_DEBUG(errs() << "addData: " << DataSection.getName() << "\n"); in addData()
693 DataBytes.resize(alignTo(DataBytes.size(), DataSection.getAlign())); in addData()
695 for (const MCFragment &Frag : DataSection) { in addData()
1626 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject() local
1627 if (!DataSection.isWasmData()) in writeOneObject()
1634 DataSection.getSegmentIndex(), Asm.getSymbolOffset(WS), in writeOneObject()
1735 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject() local
1745 DataSegments[DataSection.getSegmentIndex()]; in writeOneObject()
1749 DataSection.getSegmentIndex(), in writeOneObject()
H A DMCObjectFileInfo.cpp97 DataSection // .data in initMachOMCObjectFileInfo()
175 DataCoalSection = DataSection; in initMachOMCObjectFileInfo()
397 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
616 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
843 DataSection = Ctx->getWasmSection(".data", SectionKind::getData()); in initWasmMCObjectFileInfo()
943 DataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp64 auto DataSection = getInstrProfSection(Obj, IPSK_covdata); in get() local
65 if (auto Err = DataSection.takeError()) in get()
67 auto DataOrErr = DataSection->getContents(); in get()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h57 MCSection *DataSection = nullptr; variable
271 MCSection *getDataSection() const { return DataSection; } in getDataSection()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp444 auto *DataSection = Obj->getObject(Keys[TBDKey::Data]); in getSymbolSection() local
447 if (!DataSection && !TextSection) in getSymbolSection()
450 if (DataSection) { in getSymbolSection()
451 auto Err = collectSymbolsFromSegment(DataSection, Result, in getSymbolSection()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp158 static void sectionMapping(IO &IO, WasmYAML::DataSection &Section) { in sectionMapping()
269 Section.reset(new WasmYAML::DataSection()); in mapping()
270 sectionMapping(IO, *cast<WasmYAML::DataSection>(Section.get())); in mapping()
H A DWasmEmitter.cpp50 void writeSectionContent(raw_ostream &OS, WasmYAML::DataSection &Section);
555 WasmYAML::DataSection &Section) { in writeSectionContent()
646 else if (auto S = dyn_cast<WasmYAML::DataSection>(Sec.get())) in writeWasm()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h399 struct DataSection : Section { struct
400 DataSection() : Section(wasm::WASM_SEC_DATA) {} in DataSection() function
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1314 auto &DataSection = Obj->addSection<Section>(Data); in addData() local
1315 DataSection.Name = ".data"; in addData()
1316 DataSection.Type = ELF::SHT_PROGBITS; in addData()
1317 DataSection.Size = Data.size(); in addData()
1318 DataSection.Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE; in addData()
1326 SymTab->addSymbol(Prefix + "_start", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1328 SymTab->addSymbol(Prefix + "_end", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1329 /*Value=*/DataSection.Size, NewSymbolVisibility, 0, 0); in addData()
1331 /*Value=*/DataSection.Size, NewSymbolVisibility, SHN_ABS, in addData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp2007 uint32_t DataSection = data.getAddressSection(); in GetCompilandId() local
2009 if (DataSection == 0) { in GetCompilandId()
2011 m_session_up->addressForRVA(RVA, DataSection, DataOffset); in GetCompilandId()
2014 if (DataSection) { in GetCompilandId()
2016 auto &sec_cs = m_sec_contribs[DataSection]; in GetCompilandId()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp245 DataSection, enumerator
902 if (CurrentState != DataSection) { in checkDataSection()
908 CurrentState = DataSection; in checkDataSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsTargetStreamer.cpp953 MCSection &DataSection = *OFI.getDataSection(); in finish() local
954 S.switchSection(&DataSection); in finish()
959 DataSection.ensureMinAlignment(Align(16)); in finish()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp414 return DataSection; in getSectionForConstant()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasm.h308 uint32_t DataSection = 0; variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp1469 return DataSection; in SelectSectionForGlobal()
1844 return DataSection; in SelectSectionForGlobal()
2541 return DataSection; in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1750 DataSection = Sections.size(); in parseDataSection()
1957 return DataSection; in getSymbolSectionIdImpl()