Searched defs:pBuilder (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/compile/mclinker/lib/LD/
H A DELFDynObjFileFormat.cpp17 void ELFDynObjFileFormat::initObjectFormat(ObjectBuilder& pBuilder, argument
19 f_pDynSymTab = pBuilder.CreateSection(".dynsym",
24 f_pDynStrTab = pBuilder.CreateSection(".dynstr",
29 f_pInterp = pBuilder.CreateSection(".interp",
34 f_pHashTab = pBuilder.CreateSection(".hash",
40 pBuilder.CreateSection(".dynamic",
45 f_pRelaDyn = pBuilder.CreateSection(".rela.dyn",
50 f_pRelaPlt = pBuilder.CreateSection(".rela.plt",
55 f_pRelDyn = pBuilder.CreateSection(".rel.dyn",
60 f_pRelPlt = pBuilder
[all...]
H A DELFExecFileFormat.cpp17 void ELFExecFileFormat::initObjectFormat(ObjectBuilder& pBuilder, argument
20 f_pDynSymTab = pBuilder.CreateSection(".dynsym",
25 f_pDynStrTab = pBuilder.CreateSection(".dynstr",
30 f_pInterp = pBuilder.CreateSection(".interp",
35 f_pHashTab = pBuilder.CreateSection(".hash",
41 pBuilder.CreateSection(".dynamic",
46 f_pRelaDyn = pBuilder.CreateSection(".rela.dyn",
51 f_pRelaPlt = pBuilder.CreateSection(".rela.plt",
56 f_pRelDyn = pBuilder.CreateSection(".rel.dyn",
61 f_pRelPlt = pBuilder
[all...]
H A DELFFileFormat.cpp66 void ELFFileFormat::initStdSections(ObjectBuilder& pBuilder, argument
69 pBuilder.CreateSection(".text",
75 pBuilder.CreateSection("", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0);
76 f_pReadOnlySection = pBuilder.CreateSection(".rodata",
83 pBuilder.CreateSection(".bss",
88 f_pComment = pBuilder.CreateSection(
91 pBuilder.CreateSection(".data",
96 f_pData1 = pBuilder.CreateSection(".data1",
101 f_pDebug = pBuilder.CreateSection(
104 pBuilder
[all...]
H A DELFBinaryReader.cpp26 ELFBinaryReader::ELFBinaryReader(IRBuilder& pBuilder, argument
28 : m_Builder(pBuilder), m_Config(pConfig) {
H A DStubFactory.cpp42 IRBuilder& pBuilder,
70 stub->applyFixup(pReloc, pBuilder, *islands.first);
81 IRBuilder& pBuilder,
97 stub->applyFixup(pFragRef, pBuilder, *islands.first);
40 create(Relocation& pReloc, uint64_t pTargetSymValue, IRBuilder& pBuilder, BranchIslandFactory& pBRIslandFactory) argument
80 create(FragmentRef& pFragRef, IRBuilder& pBuilder, BranchIslandFactory& pBRIslandFactory) argument
H A DELFDynObjReader.cpp31 IRBuilder& pBuilder,
33 : DynObjReader(), m_pELFReader(0), m_Builder(pBuilder) {
30 ELFDynObjReader(GNULDBackend& pBackend, IRBuilder& pBuilder, const LinkerConfig& pConfig) argument
H A DGroupReader.cpp39 InputBuilder& pBuilder,
78 Archive* ar = new Archive(**input, pBuilder);
37 readGroup(Module::input_iterator pRoot, Module::input_iterator pEnd, InputBuilder& pBuilder, const LinkerConfig& pConfig) argument
H A DELFObjectReader.cpp36 IRBuilder& pBuilder,
41 m_Builder(pBuilder),
35 ELFObjectReader(GNULDBackend& pBackend, IRBuilder& pBuilder, const LinkerConfig& pConfig) argument
H A DArchive.cpp29 Archive::Archive(Input& pInputFile, InputBuilder& pBuilder) argument
33 m_Builder(pBuilder) {
H A DELFReader.cpp66 IRBuilder& pBuilder,
142 LDSymbol* psym = pBuilder.AddSymbol(pInput,
181 Module& pModule = pBuilder.getModule();
566 IRBuilder& pBuilder,
642 LDSymbol* psym = pBuilder.AddSymbol(pInput,
677 Module& pModule = pBuilder.getModule();
65 readSymbols(Input& pInput, IRBuilder& pBuilder, llvm::StringRef pRegion, const char* pStrTab) const argument
565 readSymbols(Input& pInput, IRBuilder& pBuilder, llvm::StringRef pRegion, const char* pStrTab) const argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFObjectFileFormat.h21 void initObjectFormat(ObjectBuilder& pBuilder, unsigned int pBitClass) { argument
/frameworks/compile/mclinker/lib/Fragment/
H A DStub.cpp33 IRBuilder& pBuilder,
45 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
68 IRBuilder& pBuilder,
32 applyFixup(Relocation& pSrcReloc, IRBuilder& pBuilder, BranchIsland& pIsland) argument
67 applyFixup(FragmentRef& pSrcFragRef, IRBuilder& pBuilder, BranchIsland& pIsland) argument
/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp32 InputBuilder& pBuilder,
38 m_Builder(pBuilder),
30 GroupCmd(StringList& pStringList, InputTree& pInputTree, InputBuilder& pBuilder, GroupReader& pGroupReader, const LinkerConfig& pConfig) argument
H A DInputCmd.cpp39 InputBuilder& pBuilder,
47 m_Builder(pBuilder),
37 InputCmd(StringList& pStringList, InputTree& pInputTree, InputBuilder& pBuilder, ObjectReader& pObjectReader, ArchiveReader& pArchiveReader, DynObjReader& pDynObjReader, const LinkerConfig& pConfig) argument
H A DScriptFile.cpp50 ScriptFile::ScriptFile(Kind pKind, Input& pInput, InputBuilder& pBuilder) argument
55 m_Builder(pBuilder),
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64CA53ErratumStub.cpp70 IRBuilder& pBuilder,
83 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
100 ResolveInfo* target_info = pBuilder.CreateLocalSymbol(*target);
69 applyFixup(FragmentRef& pSrcFragRef, IRBuilder& pBuilder, BranchIsland& pIsland) argument
H A DAArch64LongBranchStub.cpp103 IRBuilder& pBuilder,
122 Stub::applyFixup(pSrcReloc, pBuilder, pIsland);
102 applyFixup(Relocation& pSrcReloc, IRBuilder& pBuilder, BranchIsland& pIsland) argument
H A DAArch64LDBackend.cpp89 ObjectBuilder& pBuilder) {
125 void AArch64GNULDBackend::initTargetSymbols(IRBuilder& pBuilder, argument
131 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>(
160 void AArch64GNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) { argument
163 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
173 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
185 void AArch64GNULDBackend::doPreLayout(IRBuilder& pBuilder) { argument
197 defineGOTSymbol(pBuilder);
204 defineGOTSymbol(pBuilder);
235 void AArch64GNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { argument
88 initTargetSections(Module& pModule, ObjectBuilder& pBuilder) argument
311 scanErrata(Module& pModule, IRBuilder& pBuilder, size_t& num_new_stubs, size_t& stubs_strlen) argument
360 doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished) argument
[all...]
H A DAArch64Relocator.cpp106 LDSymbol& AArch64Relocator::defineSymbolforCopyReloc(IRBuilder& pBuilder, argument
138 LDSymbol* cpy_sym = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
216 IRBuilder& pBuilder,
243 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pBuilder, *rsym);
296 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pBuilder, *rsym);
335 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pBuilder, *rsym);
375 IRBuilder& pBuilder,
396 scanGlobalReloc(pReloc, pBuilder, pSection);
215 scanGlobalReloc(Relocation& pReloc, IRBuilder& pBuilder, const LDSection& pSection) argument
374 scanRelocation(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection, Input& pInput) argument
/frameworks/compile/mclinker/include/mcld/Target/
H A DTargetLDBackend.h61 virtual void initTargetSegments(IRBuilder& pBuilder) {} argument
62 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) {} argument
63 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) {} argument
64 virtual void initTargetRelocation(IRBuilder& pBuilder) {} argument
65 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
79 virtual bool initStdSections(ObjectBuilder& pBuilder) = 0;
85 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0;
88 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0;
165 virtual bool relax(Module& pModule, IRBuilder& pBuilder) = 0;
H A DGNULDBackend.h57 ELFObjectReader* createObjectReader(IRBuilder& pBuilder);
58 ELFDynObjReader* createDynObjReader(IRBuilder& pBuilder);
59 ELFBinaryReader* createBinaryReader(IRBuilder& pBuilder);
64 bool initStdSections(ObjectBuilder& pBuilder);
78 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule);
413 void preLayout(Module& pModule, IRBuilder& pBuilder);
416 void postLayout(Module& pModule, IRBuilder& pBuilder);
419 virtual void doPreLayout(IRBuilder& pBuilder) = 0;
434 virtual bool relax(Module& pModule, IRBuilder& pBuilder);
443 virtual bool doRelax(Module& pModule, IRBuilder& pBuilder, boo argument
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp66 bool Linker::link(Module& pModule, IRBuilder& pBuilder) { argument
67 if (!normalize(pModule, pBuilder))
77 bool Linker::normalize(Module& pModule, IRBuilder& pBuilder) { argument
80 m_pIRBuilder = &pBuilder;
85 if (!m_pObjLinker->initialize(pModule, pBuilder))
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp82 void X86GNULDBackend::doPreLayout(IRBuilder& pBuilder) { argument
90 setGOTSectionSize(pBuilder);
113 addEhFrameForPLT(pBuilder.getModule());
116 void X86GNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { argument
133 void X86GNULDBackend::defineGOTSymbol(IRBuilder& pBuilder, Fragment& pFrag) { argument
136 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
146 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
254 void X86GNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { argument
259 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>(
346 ObjectBuilder& pBuilder) {
345 initTargetSections(Module& pModule, ObjectBuilder& pBuilder) argument
455 setGOTSectionSize(IRBuilder& pBuilder) argument
612 initTargetSections(Module& pModule, ObjectBuilder& pBuilder) argument
640 setGOTSectionSize(IRBuilder& pBuilder) argument
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp80 bool ObjectLinker::initialize(Module& pModule, IRBuilder& pBuilder) { argument
82 m_pBuilder = &pBuilder;
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocator.cpp236 IRBuilder& pBuilder,
287 IRBuilder& pBuilder,
325 defineSymbolforCopyReloc(pBuilder, *rsym, ld_backend);
407 IRBuilder& pBuilder,
441 LDSymbol* cpy_sym = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
452 Module& pModule = pBuilder.getModule();
459 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>(
235 scanLocalReloc(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection) argument
286 scanGlobalReloc(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection) argument
406 defineSymbolforCopyReloc( IRBuilder& pBuilder, const ResolveInfo& pSym, HexagonLDBackend& pTarget) argument

Completed in 186 milliseconds

12