/frameworks/compile/mclinker/lib/Object/ |
D | ObjectBuilder.cpp | 45 LDSection* output_sect = m_Module.getSection(output_name); in CreateSection() 67 LDSection* target = m_Module.getSection(output_name); in MergeSection() 108 data = pair.second->getSection()->getSectionData(); in MergeSection() 112 pInputSection.setAlign(pair.second->getSection()->align()); in MergeSection() 133 uint64_t offset = pTo.getSection().size(); in MoveSectionData() 135 if (pFrom.getSection().align() > 1) { in MoveSectionData() 137 unsigned int alignment = pFrom.getSection().align(); in MoveSectionData() 160 pTo.getSection().setSize(offset); in MoveSectionData()
|
D | ObjectLinker.cpp | 314 LDSection* out_sect = (*out)->getSection(); in mergeSections() 325 LDSection* in_sect = (*in)->getSection(); in mergeSections() 411 LDSection* out_sect = (*out)->getSection(); in mergeSections() 417 LDSection* in_sect = (*in)->getSection(); in mergeSections() 426 LDSection* target = m_pModule->getSection((*out)->name()); in mergeSections() 462 ->getSection() in addSymbolToOutput() 469 ->getSection() in addSymbolToOutput() 675 LDSection* eh_frame_sect = m_pModule->getSection(".eh_frame"); in prelayout() 686 LDSection* debug_str_sect = m_pModule->getSection(".debug_str"); in prelayout() 735 (*symbol)->fragRef()->frag()->getParent()->getSection().addr(); in finalizeSymbolValue() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | UnaryOp.cpp | 76 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval() 80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval() 98 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval() 102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval() 169 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval() 173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
|
D | Assignment.cpp | 138 in->getSection()->getSectionData()->front()); in activate() 159 in->getSection()->getSectionData()->front().getNextNode(), *this)); in activate()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | LDContext.h | 52 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);
|
D | DebugString.h | 52 const LDSection* getSection() const { return m_pSection; } in getSection() function 53 LDSection* getSection() { return m_pSection; } in getSection() function
|
D | SectionData.h | 54 const LDSection& getSection() const { return *m_pSection; } in getSection() function 55 LDSection& getSection() { return *m_pSection; } in getSection() function
|
D | RelocData.h | 63 const LDSection& getSection() const { return *m_pSection; } in getSection() function 64 LDSection& getSection() { return *m_pSection; } in getSection() function
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 572 symbol->fragRef()->frag()->getParent()->getSection().addr(); in doRelax() 652 sd->getSection().setSize(sd->back().getOffset() + sd->back().size()); in doRelax() 730 pTo->getSection().setSize(offset); in SetSDataSection() 908 uint32_t pFromFlag = pFrom.getSection().align(); in MoveCommonData() 922 uint32_t flag = frag->getParent()->getSection().align(); in MoveCommonData() 929 if (pFrom.getSection().align() > 1) { in MoveCommonData() 931 unsigned int alignment = pFrom.getSection().align(); in MoveCommonData() 948 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection() 949 uint32_t size = pSD.getSection().size(); in readSection() 951 if (pSD.getSection().type() == llvm::ELF::SHT_NOBITS) { in readSection() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | LDContext.cpp | 28 LDSection* LDContext::getSection(unsigned int pIdx) { in getSection() function in mcld::LDContext 34 const LDSection* LDContext::getSection(unsigned int pIdx) const { in getSection() function in mcld::LDContext 40 LDSection* LDContext::getSection(const std::string& pName) { in getSection() function in mcld::LDContext 49 const LDSection* LDContext::getSection(const std::string& pName) const { in getSection() function in mcld::LDContext
|
D | ELFReaderIf.cpp | 54 if (pInput.context()->getSection(pShndx) == NULL || in getSymDesc() 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc() 107 LDSection* sect_hdr = pInput.context()->getSection(pShndx); in getSymFragmentRef()
|
D | IdenticalCodeFolding.cpp | 107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection()); in foldIdenticalCode() 146 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates() 251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent() 259 &sym->fragRef()->frag()->getParent()->getSection()) != in initConstantContent() 286 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in getContentWithVariables()
|
D | GarbageCollection.cpp | 163 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSections() 221 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections() 235 pEntry.push_back(&entry_sym->fragRef()->frag()->getParent()->getSection()); in getEntrySections() 259 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections() 280 const LDSection* sect = &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
|
D | ELFReader.cpp | 56 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readRegularSection() 57 uint32_t size = pSD.getSection().size(); in readRegularSection() 107 if (pInput.context()->getSection(st_shndx) == NULL) in readSymbols() 130 section = pInput.context()->getSection(st_shndx); in readSymbols() 421 info->section->setLink(pInput.context()->getSection(info->sh_info)); in readSectionHeaders() 423 info->section->setLink(pInput.context()->getSection(info->sh_link)); in readSectionHeaders() 478 const LDSection* dynamic_sect = pInput.context()->getSection(".dynamic"); in readDynamic() 556 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readRegularSection() 557 uint64_t size = pSD.getSection().size(); in readRegularSection() 607 if (pInput.context()->getSection(st_shndx) == NULL) in readSymbols() [all …]
|
D | EhFrame.cpp | 119 const LDSection& EhFrame::getSection() const { in getSection() function in mcld::EhFrame 124 LDSection& EhFrame::getSection() { in getSection() function in mcld::EhFrame 175 if ((*ri)->getLink() == &pFrame.getSection()) { in merge() 364 getSection().setSize(offset); in computeOffsetSize()
|
D | ELFObjectReader.cpp | 145 pInput.context()->getSection(value[index])->setKind( in readSections() 188 LDSection* link_sect = pInput.context()->getSection(link_index); in readSections() 279 LDSection* symtab_shdr = pInput.context()->getSection(".symtab"); in readSymbols()
|
/frameworks/compile/mclinker/include/mcld/Object/ |
D | SectionMap.h | 44 const LDSection* getSection() const { return m_pSection; } in getSection() function 45 LDSection* getSection() { return m_pSection; } in getSection() function 91 const LDSection* getSection() const { return m_pSection; } in getSection() function 92 LDSection* getSection() { return m_pSection; } in getSection() function
|
/frameworks/compile/mclinker/unittests/ |
D | SectionDataTest.cpp | 42 EXPECT_TRUE(s->getSection().name() == "test" && in TEST_F() 43 s->getSection().kind() == LDFileFormat::Null); in TEST_F()
|
/frameworks/compile/mclinker/lib/Core/ |
D | Module.cpp | 38 LDSection* Module::getSection(const std::string& pName) { in getSection() function in mcld::Module 47 const LDSection* Module::getSection(const std::string& pName) const { in getSection() function in mcld::Module
|
D | IRBuilder.cpp | 363 ObjectBuilder::AppendFragment(pFrag, pSD, pSD.getSection().align()); in AppendFragment() 364 pSD.getSection().setSize(pSD.getSection().size() + size); in AppendFragment() 376 pFrag, *pEhFrame.getSectionData(), pEhFrame.getSection().align()); in AppendEhFrame() 377 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + size); in AppendEhFrame() 384 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + pFDE.size()); in AppendEhFrame() 391 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + pCIE.size()); in AppendEhFrame()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64LongBranchStub.cpp | 107 uint64_t dest = symbol->fragRef()->frag()->getParent()->getSection().addr() + in applyFixup() 109 uint64_t src = pIsland.getParent()->getSection().addr() + in applyFixup()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.cpp | 449 if ((pSD.getSection().flag() & llvm::ELF::SHF_MIPS_GPREL) || in readSection() 450 (pSD.getSection().type() == llvm::ELF::SHT_MIPS_ABIFLAGS)) { in readSection() 451 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection() 452 uint64_t size = pSD.getSection().size(); in readSection() 459 if (pSD.getSection().type() == llvm::ELF::SHT_MIPS_OPTIONS) { in readSection() 460 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection() 461 uint32_t size = pSD.getSection().size(); in readSection() 772 uint64_t addr = symbol->fragRef()->frag()->getParent()->getSection().addr(); in relaxRelocation() 880 sd->getSection().setSize(sd->back().getOffset() + sd->back().size()); in doRelax() 1214 uint64_t offset = pTo.getSection().size(); in moveSectionData() [all …]
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Relocation.cpp | 82 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place() 90 return fragRef->frag()->getParent()->getSection().addr() + in symValue()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.cpp | 111 uint64_t addrA = textFragA->getParent()->getSection().addr() + in operator ()() 113 uint64_t addrB = textFragB->getParent()->getSection().addr() + in operator ()() 595 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSectionsForGC() 621 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection() 622 uint32_t size = pSD.getSection().size(); in readSection() 742 uint64_t prevTextEnd = prevTextFrag->getParent()->getSection().addr() + in rewriteARMExIdxSection() 749 uint64_t currTextBegin = currTextFrag->getParent()->getSection().addr() + in rewriteARMExIdxSection() 849 symbol->fragRef()->frag()->getParent()->getSection().addr(); in doRelax() 951 sd->getSection().setSize(sd->back().getOffset() + sd->back().size()); in doRelax()
|
/frameworks/compile/mclinker/include/mcld/ |
D | Module.h | 120 LDSection* getSection(const std::string& pName); 121 const LDSection* getSection(const std::string& pName) const;
|