Searched refs:getSection (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/compile/mclinker/include/mcld/LD/
H A DDebugString.h52 const LDSection* getSection() const { return m_pSection; } function in class:mcld::DebugString
53 LDSection* getSection() { return m_pSection; } function in class:mcld::DebugString
H A DLDContext.h52 const LDSection* getSection(unsigned int pIdx) const;
53 LDSection* getSection(unsigned int pIdx);
55 const LDSection* getSection(const std::string& pName) const;
56 LDSection* getSection(const std::string& pName);
H A DRelocData.h63 const LDSection& getSection() const { return *m_pSection; } function in class:mcld::RelocData
64 LDSection& getSection() { return *m_pSection; } function in class:mcld::RelocData
H A DSectionData.h54 const LDSection& getSection() const { return *m_pSection; } function in class:mcld::SectionData
55 LDSection& getSection() { return *m_pSection; } function in class:mcld::SectionData
/frameworks/compile/mclinker/lib/Script/
H A DUnaryOp.cpp76 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name());
80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection();
98 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name());
102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection();
169 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name());
173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection();
H A DAssignment.cpp138 in->getSection()->getSectionData()->front());
159 in->getSection()->getSectionData()->front().getNextNode(), *this));
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp28 LDSection* LDContext::getSection(unsigned int pIdx) { function in class:mcld::LDContext
34 const LDSection* LDContext::getSection(unsigned int pIdx) const { function in class:mcld::LDContext
40 LDSection* LDContext::getSection(const std::string& pName) { function in class:mcld::LDContext
49 const LDSection* LDContext::getSection(const std::string& pName) const { function in class:mcld::LDContext
H A DELFReaderIf.cpp54 if (pInput.context()->getSection(pShndx) == NULL ||
55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind())
107 LDSection* sect_hdr = pInput.context()->getSection(pShndx);
H A DGarbageCollection.cpp163 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection();
221 &sym->fragRef()->frag()->getParent()->getSection();
235 pEntry.push_back(&entry_sym->fragRef()->frag()->getParent()->getSection());
259 &sym->fragRef()->frag()->getParent()->getSection();
280 const LDSection* sect = &sym->fragRef()->frag()->getParent()->getSection();
H A DRelocator.cpp45 input_sym->fragRef()->frag()->getParent()->getSection();
H A DIdenticalCodeFolding.cpp107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection());
146 &sym->fragRef()->frag()->getParent()->getSection();
251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection();
259 &sym->fragRef()->frag()->getParent()->getSection()) !=
286 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection();
H A DELFReader.cpp56 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset();
57 uint32_t size = pSD.getSection().size();
107 if (pInput.context()->getSection(st_shndx) == NULL)
130 section = pInput.context()->getSection(st_shndx);
421 info->section->setLink(pInput.context()->getSection(info->sh_info));
423 info->section->setLink(pInput.context()->getSection(info->sh_link));
478 const LDSection* dynamic_sect = pInput.context()->getSection(".dynamic");
556 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset();
557 uint64_t size = pSD.getSection().size();
607 if (pInput.context()->getSection(st_shnd
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectBuilder.cpp45 LDSection* output_sect = m_Module.getSection(output_name);
67 LDSection* target = m_Module.getSection(output_name);
108 data = pair.second->getSection()->getSectionData();
112 pInputSection.setAlign(pair.second->getSection()->align());
133 uint64_t offset = pTo.getSection().size();
135 if (pFrom.getSection().align() > 1) {
137 unsigned int alignment = pFrom.getSection().align();
160 pTo.getSection().setSize(offset);
H A DObjectLinker.cpp314 LDSection* out_sect = (*out)->getSection();
325 LDSection* in_sect = (*in)->getSection();
411 LDSection* out_sect = (*out)->getSection();
417 LDSection* in_sect = (*in)->getSection();
426 LDSection* target = m_pModule->getSection((*out)->name());
462 ->getSection()
469 ->getSection()
675 LDSection* eh_frame_sect = m_pModule->getSection(".eh_frame");
686 LDSection* debug_str_sect = m_pModule->getSection(".debug_str");
735 (*symbol)->fragRef()->frag()->getParent()->getSection()
[all...]
/frameworks/compile/mclinker/unittests/
H A DSectionDataTest.cpp42 EXPECT_TRUE(s->getSection().name() == "test" &&
43 s->getSection().kind() == LDFileFormat::Null);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64CA53Erratum843419Stub2.cpp57 const uint64_t vma = pFragRef.frag()->getParent()->getSection().addr() +
H A DAArch64LongBranchStub.cpp107 uint64_t dest = symbol->fragRef()->frag()->getParent()->getSection().addr() +
109 uint64_t src = pIsland.getParent()->getSection().addr() +
H A DAArch64CA53Erratum843419Stub.cpp68 const uint64_t vma = pFragRef.frag()->getParent()->getSection().addr() +
/frameworks/compile/mclinker/lib/Core/
H A DModule.cpp38 LDSection* Module::getSection(const std::string& pName) { function in class:mcld::Module
47 const LDSection* Module::getSection(const std::string& pName) const { function in class:mcld::Module
H A DIRBuilder.cpp363 ObjectBuilder::AppendFragment(pFrag, pSD, pSD.getSection().align());
364 pSD.getSection().setSize(pSD.getSection().size() + size);
376 pFrag, *pEhFrame.getSectionData(), pEhFrame.getSection().align());
377 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + size);
384 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + pFDE.size());
391 pEhFrame.getSection().setSize(pEhFrame.getSection()
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp572 symbol->fragRef()->frag()->getParent()->getSection().addr();
652 sd->getSection().setSize(sd->back().getOffset() + sd->back().size());
730 pTo->getSection().setSize(offset);
908 uint32_t pFromFlag = pFrom.getSection().align();
922 uint32_t flag = frag->getParent()->getSection().align();
929 if (pFrom.getSection().align() > 1) {
931 unsigned int alignment = pFrom.getSection().align();
948 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset();
949 uint32_t size = pSD.getSection().size();
951 if (pSD.getSection()
[all...]
/frameworks/compile/mclinker/lib/Fragment/
H A DRelocation.cpp82 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr();
90 return fragRef->frag()->getParent()->getSection().addr() +
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h44 const LDSection* getSection() const { return m_pSection; } function in class:mcld::SectionMap::Input
45 LDSection* getSection() { return m_pSection; } function in class:mcld::SectionMap::Input
91 const LDSection* getSection() const { return m_pSection; } function in class:mcld::SectionMap::Output
92 LDSection* getSection() { return m_pSection; } function in class:mcld::SectionMap::Output
/frameworks/compile/mclinker/include/mcld/
H A DModule.h120 LDSection* getSection(const std::string& pName);
121 const LDSection* getSection(const std::string& pName) const;
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp449 if ((pSD.getSection().flag() & llvm::ELF::SHF_MIPS_GPREL) ||
450 (pSD.getSection().type() == llvm::ELF::SHT_MIPS_ABIFLAGS)) {
451 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset();
452 uint64_t size = pSD.getSection().size();
459 if (pSD.getSection().type() == llvm::ELF::SHT_MIPS_OPTIONS) {
460 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset();
461 uint32_t size = pSD.getSection().size();
772 uint64_t addr = symbol->fragRef()->frag()->getParent()->getSection().addr();
880 sd->getSection().setSize(sd->back().getOffset() + sd->back().size());
1214 uint64_t offset = pTo.getSection()
[all...]

Completed in 7431 milliseconds

12