Home
last modified time | relevance | path

Searched refs:symInfo (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Relocator.cpp154 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc()
219 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc()
379 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation()
415 if (pReloc.symInfo()->isLocal()) { in mayHaveFunctionPointerAccess()
422 (pReloc.symInfo()->visibility() != ResolveInfo::Default)); in mayHaveFunctionPointerAccess()
434 if (pReloc.symInfo()->type() == ResolveInfo::Section) in getDebugStringOffset()
437 return pReloc.symInfo()->outSymbol()->fragRef()->offset() + in getDebugStringOffset()
463 ResolveInfo* rsym = pReloc.symInfo(); in abs()
509 ResolveInfo* rsym = pReloc.symInfo(); in rel()
554 ResolveInfo* rsym = pReloc.symInfo(); in adr_prel_lo21()
[all …]
DAArch64LDBackend.cpp333 assert(stub->symInfo() != NULL && stub->symInfo()->isLocal()); in scanErrata()
344 reloc->setSymInfo(stub->symInfo()); in scanErrata()
349 stubs_strlen += stub->symInfo()->nameSize() + 1; in scanErrata()
392 LDSymbol* symbol = relocation->symInfo()->outSymbol(); in doRelax()
399 if ((relocation->symInfo()->reserved() & in doRelax()
412 assert(stub->symInfo() != NULL && stub->symInfo()->isLocal()); in doRelax()
414 relocation->setSymInfo(stub->symInfo()); in doRelax()
417 stubs_strlen += stub->symInfo()->nameSize() + 1; in doRelax()
DAArch64RelocationHelpers.h95 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init()
161 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init()
DAArch64LongBranchStub.cpp106 LDSymbol* symbol = pSrcReloc.symInfo()->outSymbol(); in applyFixup()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp33 ((!pReloc.symInfo()->isUndef() || pReloc.symInfo()->isDyn()) && in getThumbBit()
34 (pReloc.symInfo()->type() == ResolveInfo::Function) && in getThumbBit()
85 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init()
127 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init()
155 ResolveInfo* rsym = pReloc.symInfo(); in helper_DynRel_init()
403 << pReloc.symInfo()->name(); in checkValidReloc()
432 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc()
466 << pReloc.symInfo()->name(); in scanLocalReloc()
524 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc()
734 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation()
[all …]
DARMLDBackend.cpp584 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSectionsForGC()
845 LDSymbol* symbol = relocation->symInfo()->outSymbol(); in doRelax()
852 if ((relocation->symInfo()->reserved() & in doRelax()
864 assert(stub->symInfo() != NULL); in doRelax()
866 relocation->setSymInfo(stub->symInfo()); in doRelax()
874 assert(stub->symInfo() != NULL && stub->symInfo()->isLocal()); in doRelax()
881 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + in doRelax()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp63 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init()
94 X86_32GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*pReloc.symInfo()); in helper_get_GOT_address()
102 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init()
168 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation()
316 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc()
519 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc()
792 reloc->setSymInfo(pReloc.symInfo()); in convertTLSIEtoLE()
805 reloc->setSymInfo(pReloc.symInfo()); in convertTLSIEtoLE()
838 if (pReloc.symInfo()->type() == ResolveInfo::Section) in getDebugStringOffset()
841 return pReloc.symInfo()->outSymbol()->fragRef()->offset() + in getDebugStringOffset()
[all …]
/frameworks/compile/mclinker/lib/LD/
DRelocator.cpp34 if (pReloc.symInfo()->type() == ResolveInfo::Section) { in partialScanRelocation()
35 LDSymbol* input_sym = pReloc.symInfo()->outSymbol(); in partialScanRelocation()
61 std::string reloc_sym(pReloc.symInfo()->name()); in issueUndefRef()
DBranchIsland.cpp87 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend()); in findStub()
101 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend()); in addStub()
128 Key key(&pStub, pStub.symInfo()->outSymbol(), 0); in addStub()
DIdenticalCodeFolding.cpp143 LDSymbol* sym = rel->symInfo()->outSymbol(); in findCandidates()
147 if (!isSymCtorOrDtor(*rel->symInfo()) && in findCandidates()
249 LDSymbol* sym = rel.symInfo()->outSymbol(); in initConstantContent()
257 if (!pBackend.isSymbolPreemptible(*rel.symInfo()) && sym->hasFragRef() && in initConstantContent()
285 LDSymbol* sym = (*rel)->symInfo()->outSymbol(); in getContentWithVariables()
DDebugString.cpp69 ResolveInfo* info = pReloc.symInfo(); in applyOffset()
DELFObjectWriter.cpp508 if (relocation->symInfo() == NULL) in emitRel()
512 target().getSymbolIdx(relocation->symInfo()->outSymbol())); in emitRel()
550 if (relocation->symInfo() == NULL) in emitRela()
554 target().getSymbolIdx(relocation->symInfo()->outSymbol())); in emitRela()
DEhFrame.cpp234 cie->setPersonalityName(rel.symInfo()->outSymbol()->name()); in setupAttributes()
262 bool has_section = rel.symInfo()->outSymbol()->hasFragRef(); in removeDiscardedFDE()
DGarbageCollection.cpp152 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSections()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp92 ResolveInfo* rsym = pReloc.parent().symInfo(); in helper_PLT_init()
189 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation()
212 if (getTarget().needsLA25Stub(info.type(), info.parent().symInfo())) in scanRelocation()
213 getTarget().addNonPICBranchSym(pReloc.symInfo()); in scanRelocation()
247 ResolveInfo* rsym = pReloc.parent().symInfo(); in scanLocalReloc()
348 ResolveInfo* rsym = pReloc.parent().symInfo(); in scanGlobalReloc()
470 pReloc.symInfo()->isLocal()) in isPostponed()
549 ResolveInfo* rsym = pReloc.symInfo(); in postponeRelocation()
556 ResolveInfo* rsym = pLo16Reloc.parent().symInfo(); in applyPostponedRelocations()
568 return strcmp("_gp_disp", pReloc.symInfo()->name()) == 0; in isGpDisp()
[all …]
DMipsLA25Stub.cpp56 const ResolveInfo* rsym = pReloc.symInfo(); in isMyDuty()
DMipsLDBackend.cpp769 LDSymbol* symbol = pRel.symInfo()->outSymbol(); in relaxRelocation()
782 assert(stub->symInfo() != NULL); in relaxRelocation()
784 pRel.setSymInfo(stub->symInfo()); in relaxRelocation()
790 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + 1); in relaxRelocation()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp59 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init()
94 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init()
204 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation()
240 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc()
291 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc()
479 if (pReloc.symInfo()->type() == ResolveInfo::Section) { in partialScanRelocation()
480 LDSymbol* input_sym = pReloc.symInfo()->outSymbol(); in partialScanRelocation()
696 ResolveInfo* rsym = pReloc.symInfo(); in relocAbs()
736 ResolveInfo* rsym = pReloc.symInfo(); in relocPCREL()
821 if ((pReloc.symInfo()->reserved() & HexagonRelocator::ReservePLT)) in relocPLTB22PCREL()
[all …]
DHexagonLDBackend.cpp568 LDSymbol* symbol = relocation->symInfo()->outSymbol(); in doRelax()
580 assert(stub->symInfo() != NULL); in doRelax()
582 relocation->setSymInfo(stub->symInfo()); in doRelax()
588 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + 1); in doRelax()
/frameworks/compile/mclinker/lib/Fragment/
DRelocation.cpp106 << symInfo()->name(); in apply()
111 << symInfo()->name(); in apply()
120 fatal(diag::unknown_relocation) << type() << symInfo()->name(); in apply()
DStub.cpp37 sym_name.append(pSrcReloc.symInfo()->name()) in applyFixup()
62 reloc->setSymInfo(pSrcReloc.symInfo()); in applyFixup()
/frameworks/compile/mclinker/include/mcld/Fragment/
DRelocation.h84 const ResolveInfo* symInfo() const { return m_pSymInfo; } in symInfo() function
85 ResolveInfo* symInfo() { return m_pSymInfo; } in symInfo() function
DStub.h91 ResolveInfo* symInfo() { return m_pSymInfo; } in symInfo() function
93 const ResolveInfo* symInfo() const { return m_pSymInfo; } in symInfo() function
/frameworks/compile/mclinker/unittests/
DELFReaderTest.cpp141 ASSERT_EQ("puts", std::string(rReloc->symInfo()->name())); in TEST_F()
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp600 ResolveInfo* info = relocation->symInfo(); in scanRelocations()
804 ResolveInfo* info = relocation->symInfo(); in relocation()
888 ResolveInfo* info = relocation->symInfo(); in normalSyncRelocationResult()

12