Home
last modified time | relevance | path

Searched refs:pParent (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h86 AArch64Relocator& pParent) { in helper_get_PLT_address() argument
87 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address()
89 return pParent.getTarget().getPLT().addr() + plt_entry->getOffset(); in helper_get_PLT_address()
93 AArch64Relocator& pParent) { in helper_PLT_init() argument
96 AArch64GNULDBackend& ld_backend = pParent.getTarget(); in helper_PLT_init()
97 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL); in helper_PLT_init()
100 pParent.getSymPLTMap().record(*rsym, *plt_entry); in helper_PLT_init()
103 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL && in helper_PLT_init()
106 pParent.getSymGOTPLTMap().record(*rsym, *gotplt_entry); in helper_PLT_init()
121 AArch64Relocator& pParent) { in helper_DynRela_init() argument
[all …]
DAArch64Relocator.cpp35 AArch64Relocator& pParent);
64 AArch64Relocator::AArch64Relocator(AArch64GNULDBackend& pParent, in AArch64Relocator() argument
66 : Relocator(pConfig), m_Target(pParent) { in AArch64Relocator()
451 Relocator::Result none(Relocation& pReloc, AArch64Relocator& pParent) { in none() argument
455 Relocator::Result unsupported(Relocation& pReloc, AArch64Relocator& pParent) { in unsupported() argument
462 Relocator::Result abs(Relocation& pReloc, AArch64Relocator& pParent) { in abs() argument
466 Relocation* dyn_rel = pParent.getRelRelMap().lookUp(pReloc); in abs()
484 S = helper_get_PLT_address(*rsym, pParent); in abs()
508 Relocator::Result rel(Relocation& pReloc, AArch64Relocator& pParent) { in rel() argument
515 A += pReloc.target() & get_mask(pParent.getSize(pReloc.type())); in rel()
[all …]
DAArch64PLT.cpp22 AArch64PLT0::AArch64PLT0(SectionData& pParent) in AArch64PLT0() argument
23 : PLT::Entry<sizeof(aarch64_plt0)>(pParent) { in AArch64PLT0()
26 AArch64PLT1::AArch64PLT1(SectionData& pParent) in AArch64PLT1() argument
27 : PLT::Entry<sizeof(aarch64_plt1)>(pParent) { in AArch64PLT1()
DAArch64PLT.h40 AArch64PLT0(SectionData& pParent);
45 AArch64PLT1(SectionData& pParent);
DAArch64ELFDynamic.cpp16 AArch64ELFDynamic::AArch64ELFDynamic(const GNULDBackend& pParent, in AArch64ELFDynamic() argument
18 : ELFDynamic(pParent, pConfig) { in AArch64ELFDynamic()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp35 X86_32Relocator& pParent) { in helper_DynRel_init() argument
36 X86_32GNULDBackend& ld_backend = pParent.getTarget(); in helper_DynRel_init()
61 X86_32Relocator& pParent) { in helper_GOT_init() argument
64 X86_32GNULDBackend& ld_backend = pParent.getTarget(); in helper_GOT_init()
65 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
68 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
75 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
77 rsym, *got_entry, 0x0, llvm::ELF::R_386_RELATIVE, pParent); in helper_GOT_init()
81 rsym, *got_entry, 0x0, llvm::ELF::R_386_GLOB_DAT, pParent); in helper_GOT_init()
88 static Relocator::Address helper_GOT_ORG(X86_32Relocator& pParent) { in helper_GOT_ORG() argument
[all …]
DX86PLT.cpp24 X86_32DynPLT0::X86_32DynPLT0(SectionData& pParent) in X86_32DynPLT0() argument
25 : PLT::Entry<sizeof(x86_32_dyn_plt0)>(pParent) { in X86_32DynPLT0()
28 X86_32DynPLT1::X86_32DynPLT1(SectionData& pParent) in X86_32DynPLT1() argument
29 : PLT::Entry<sizeof(x86_32_dyn_plt1)>(pParent) { in X86_32DynPLT1()
32 X86_32ExecPLT0::X86_32ExecPLT0(SectionData& pParent) in X86_32ExecPLT0() argument
33 : PLT::Entry<sizeof(x86_32_exec_plt0)>(pParent) { in X86_32ExecPLT0()
36 X86_32ExecPLT1::X86_32ExecPLT1(SectionData& pParent) in X86_32ExecPLT1() argument
37 : PLT::Entry<sizeof(x86_32_exec_plt1)>(pParent) { in X86_32ExecPLT1()
40 X86_64PLT0::X86_64PLT0(SectionData& pParent) in X86_64PLT0() argument
41 : PLT::Entry<sizeof(x86_64_plt0)>(pParent) { in X86_64PLT0()
[all …]
DX86PLT.h61 X86_32DynPLT0(SectionData& pParent);
66 X86_32DynPLT1(SectionData& pParent);
71 X86_32ExecPLT0(SectionData& pParent);
76 X86_32ExecPLT1(SectionData& pParent);
84 X86_64PLT0(SectionData& pParent);
89 X86_64PLT1(SectionData& pParent);
DX86GOT.h24 X86_32GOTEntry(uint64_t pContent, SectionData* pParent) in X86_32GOTEntry() argument
25 : GOT::Entry<4>(pContent, pParent) {} in X86_32GOTEntry()
46 X86_64GOTEntry(uint64_t pContent, SectionData* pParent) in X86_64GOTEntry() argument
47 : GOT::Entry<8>(pContent, pParent) {} in X86_64GOTEntry()
DX86ELFDynamic.cpp15 X86ELFDynamic::X86ELFDynamic(const GNULDBackend& pParent, in X86ELFDynamic() argument
17 : ELFDynamic(pParent, pConfig) { in X86ELFDynamic()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp29 static bool HasSubType(const Relocation& pParent, Relocation::Type pType) { in HasSubType() argument
33 for (Relocation::Type type = pParent.type(); in HasSubType()
43 MipsRelocationInfo(Relocation& pParent, bool pIsRel) in MipsRelocationInfo() argument
44 : m_Parent(&pParent), in MipsRelocationInfo()
45 m_Type(pParent.type()), in MipsRelocationInfo()
46 m_Addend(pIsRel ? pParent.target() : pParent.addend()), in MipsRelocationInfo()
47 m_Symbol(pParent.symValue()), in MipsRelocationInfo()
48 m_Result(pParent.target()) {} in MipsRelocationInfo()
81 MipsRelocationInfo(Relocation& pParent, Relocation::Type pType, in MipsRelocationInfo() argument
83 : m_Parent(&pParent), in MipsRelocationInfo()
[all …]
DMipsPLT.cpp44 MipsPLT0(SectionData& pParent) : PLT::Entry<sizeof(PLT0)>(pParent) {} in MipsPLT0() argument
52 MipsPLTA(SectionData& pParent) : PLT::Entry<sizeof(PLTA)>(pParent) {} in MipsPLTA() argument
DMipsELFDynamic.cpp21 MipsELFDynamic::MipsELFDynamic(const MipsGNULDBackend& pParent, in MipsELFDynamic() argument
23 : ELFDynamic(pParent, pConfig), m_pParent(pParent), m_pConfig(pConfig) { in MipsELFDynamic()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp75 ARMRelocator& pParent) { in helper_get_GOT_address() argument
76 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address()
78 return pParent.getTarget().getGOT().addr() + got_entry->getOffset(); in helper_get_GOT_address()
83 ARMRelocator& pParent) { in helper_GOT_init() argument
86 ARMGNULDBackend& ld_backend = pParent.getTarget(); in helper_GOT_init()
87 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
90 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
98 if (rsym->isLocal() || helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
114 static Relocator::Address helper_GOT_ORG(ARMRelocator& pParent) { in helper_GOT_ORG() argument
115 return pParent.getTarget().getGOT().addr(); in helper_GOT_ORG()
[all …]
DARMELFDynamic.cpp15 ARMELFDynamic::ARMELFDynamic(const GNULDBackend& pParent, in ARMELFDynamic() argument
17 : ELFDynamic(pParent, pConfig) { in ARMELFDynamic()
DARMPLT.cpp21 ARMPLT0::ARMPLT0(SectionData& pParent) : PLT::Entry<sizeof(arm_plt0)>(pParent) { in ARMPLT0() argument
24 ARMPLT1::ARMPLT1(SectionData& pParent) : PLT::Entry<sizeof(arm_plt1)>(pParent) { in ARMPLT1() argument
DARMPLT.h36 ARMPLT0(SectionData& pParent);
41 ARMPLT1(SectionData& pParent);
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp31 HexagonRelocator& pParent) { in helper_DynRel_init() argument
32 HexagonLDBackend& ld_backend = pParent.getTarget(); in helper_DynRel_init()
57 HexagonRelocator& pParent) { in helper_GOT_init() argument
60 HexagonLDBackend& ld_backend = pParent.getTarget(); in helper_GOT_init()
61 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
64 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
71 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
73 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_RELATIVE, pParent); in helper_GOT_init()
77 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_GLOB_DAT, pParent); in helper_GOT_init()
85 HexagonRelocator& pParent) { in helper_get_GOT_address() argument
[all …]
DHexagonELFDynamic.cpp15 HexagonELFDynamic::HexagonELFDynamic(const GNULDBackend& pParent, in HexagonELFDynamic() argument
17 : ELFDynamic(pParent, pConfig) { in HexagonELFDynamic()
DHexagonGOT.h24 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) in HexagonGOTEntry() argument
25 : GOT::Entry<4>(pContent, pParent) {} in HexagonGOTEntry()
DHexagonPLT.cpp24 HexagonPLT0::HexagonPLT0(SectionData& pParent) in HexagonPLT0() argument
25 : PLT::Entry<sizeof(hexagon_plt0)>(pParent) { in HexagonPLT0()
28 HexagonPLT1::HexagonPLT1(SectionData& pParent) in HexagonPLT1() argument
29 : PLT::Entry<sizeof(hexagon_plt1)>(pParent) { in HexagonPLT1()
DHexagonPLT.h51 HexagonPLT0(SectionData& pParent);
92 HexagonPLT1(SectionData& pParent);
/frameworks/compile/mclinker/include/mcld/Target/
DPLT.h26 explicit PLTEntryBase(SectionData& pParent) in PLTEntryBase() argument
27 : TargetFragment(Fragment::Target, &pParent), m_pValue(NULL) {} in PLTEntryBase()
56 explicit Entry(SectionData& pParent) : EntryBase(pParent) {} in Entry() argument
/frameworks/compile/mclinker/lib/MC/
DAttribute.cpp51 AttributeProxy::AttributeProxy(AttributeSet& pParent, in AttributeProxy() argument
54 : m_AttrPool(pParent), m_pBase(&pBase), m_Constraint(pConstraint) { in AttributeProxy()
95 static inline void ReplaceOrRecord(AttributeSet& pParent, in ReplaceOrRecord() argument
98 Attribute* result = pParent.exists(*pCopy); in ReplaceOrRecord()
100 pParent.record(*pCopy); in ReplaceOrRecord()
/frameworks/compile/mclinker/lib/Fragment/
DFragment.cpp24 Fragment::Fragment(Type pKind, SectionData* pParent) in Fragment() argument
25 : m_Kind(pKind), m_pParent(pParent), m_Offset(~uint64_t(0)) { in Fragment()

123