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 DMCObjectFileInfo.cpp96 DataSection // .data in initMachOMCObjectFileInfo()
174 DataCoalSection = DataSection; in initMachOMCObjectFileInfo()
396 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
582 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo()
799 DataSection = Ctx->getWasmSection(".data", SectionKind::getData()); in initWasmMCObjectFileInfo()
899 DataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo()
H A DWasmObjectWriter.cpp712 MCSectionWasm &DataSection) { in addData() argument
713 LLVM_DEBUG(errs() << "addData: " << DataSection.getName() << "\n"); in addData()
715 DataBytes.resize(alignTo(DataBytes.size(), DataSection.getAlign())); in addData()
717 for (const MCFragment &Frag : DataSection) { in addData()
1649 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject()
1650 if (!DataSection.isWasmData()) in writeOneObject()
1657 DataSection.getSegmentIndex(), Asm.getSymbolOffset(WS), in writeOneObject()
1758 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeOneObject()
1768 DataSegments[DataSection.getSegmentIndex()]; in writeOneObject()
1772 DataSection in writeOneObject()
1631 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); writeOneObject() local
1740 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); writeOneObject() local
[all...]
/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.h56 MCSection *DataSection = nullptr; variable
268 MCSection *getDataSection() const { return DataSection; } in getDataSection()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp417 auto *DataSection = Obj->getObject(Keys[TBDKey::Data]); in getSymbolSection() local
420 if (!DataSection && !TextSection) in getSymbolSection()
423 if (DataSection) { in getSymbolSection()
424 auto Err = collectSymbolsFromSegment(DataSection, Result, in getSymbolSection()
/freebsd/contrib/llvm-project/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.cpp157 static void sectionMapping(IO &IO, WasmYAML::DataSection &Section) { in sectionMapping()
268 Section.reset(new WasmYAML::DataSection()); in mapping()
269 sectionMapping(IO, *cast<WasmYAML::DataSection>(Section.get())); in mapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h397 struct DataSection : Section { struct
398 DataSection() : Section(wasm::WASM_SEC_DATA) {} in DataSection() argument
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1317 auto &DataSection = Obj->addSection<Section>(Data); in addData() local
1318 DataSection.Name = ".data"; in addData()
1319 DataSection.Type = ELF::SHT_PROGBITS; in addData()
1320 DataSection.Size = Data.size(); in addData()
1321 DataSection.Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE; in addData()
1329 SymTab->addSymbol(Prefix + "_start", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1331 SymTab->addSymbol(Prefix + "_end", STB_GLOBAL, STT_NOTYPE, &DataSection, in addData()
1332 /*Value=*/DataSection.Size, NewSymbolVisibility, 0, 0); in addData()
1334 /*Value=*/DataSection.Size, NewSymbolVisibility, SHN_ABS, in addData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp2024 uint32_t DataSection = data.getAddressSection(); in GetCompilandId() local
2026 if (DataSection == 0) { in GetCompilandId()
2028 m_session_up->addressForRVA(RVA, DataSection, DataOffset); in GetCompilandId()
2031 if (DataSection) { in GetCompilandId()
2033 auto &sec_cs = m_sec_contribs[DataSection]; in GetCompilandId()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp213 DataSection, enumerator
758 if (CurrentState != DataSection) { in CheckDataSection()
764 CurrentState = DataSection; in CheckDataSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsTargetStreamer.cpp900 MCSection &DataSection = *OFI.getDataSection(); in finish() local
901 S.switchSection(&DataSection); in finish()
906 DataSection.ensureMinAlignment(Align(16)); in finish()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp381 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.h307 uint32_t DataSection = 0; variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp1407 return DataSection; in SelectSectionForGlobal()
1784 return DataSection; in SelectSectionForGlobal()
2494 return DataSection; in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1729 DataSection = Sections.size(); in parseDataSection()
1936 return DataSection; in getSymbolSectionIdImpl()