/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 112 IRBuilder::IRBuilder(Module& pModule, const LinkerConfig& pConfig) in IRBuilder() function in mcld::IRBuilder 120 IRBuilder::~IRBuilder() { in ~IRBuilder() 124 Input* IRBuilder::CreateInput(const std::string& pName, in CreateInput() 140 Input* IRBuilder::ReadInput(const std::string& pName, in ReadInput() 157 Input* IRBuilder::ReadInput(const std::string& pNameSpec) { in ReadInput() 196 Input* IRBuilder::ReadInput(FileHandle& pFileHandle) { in ReadInput() 213 Input* IRBuilder::ReadInput(const std::string& pName, in ReadInput() 223 bool IRBuilder::StartGroup() { in StartGroup() 232 bool IRBuilder::EndGroup() { in EndGroup() 237 void IRBuilder::WholeArchive() { in WholeArchive() [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 44 class IRBuilder { 53 IRBuilder(Module& pModule, const LinkerConfig& pConfig); 55 ~IRBuilder(); 487 LDSymbol* IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( 498 LDSymbol* IRBuilder::AddSymbol<IRBuilder::AsReferred, IRBuilder::Unresolve>( 509 LDSymbol* IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( 520 LDSymbol* IRBuilder::AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>(
|
D | Linker.h | 18 class IRBuilder; variable 39 bool normalize(Module& pModule, IRBuilder& pBuilder); 48 bool link(Module& pModule, IRBuilder& pBuilder); 73 IRBuilder* m_pIRBuilder;
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | TargetLDBackend.h | 30 class IRBuilder; variable 61 virtual void initTargetSegments(IRBuilder& pBuilder) {} in initTargetSegments() 63 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) {} in initTargetSymbols() 64 virtual void initTargetRelocation(IRBuilder& pBuilder) {} in initTargetRelocation() 65 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0; 74 virtual ObjectReader* createObjectReader(IRBuilder&) = 0; 75 virtual DynObjReader* createDynObjReader(IRBuilder&) = 0; 76 virtual BinaryReader* createBinaryReader(IRBuilder&) = 0; 85 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0; 88 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0; [all …]
|
D | GNULDBackend.h | 36 class IRBuilder; variable 57 ELFObjectReader* createObjectReader(IRBuilder& pBuilder); 58 ELFDynObjReader* createDynObjReader(IRBuilder& pBuilder); 59 ELFBinaryReader* createBinaryReader(IRBuilder& 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; 422 virtual void doPostLayout(Module& pModule, IRBuilder& pLinker) = 0; 434 virtual bool relax(Module& pModule, IRBuilder& pBuilder); [all …]
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64LDBackend.h | 44 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 54 void doPreLayout(IRBuilder& pBuilder); 57 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 117 void defineGOTSymbol(IRBuilder& pBuilder); 123 IRBuilder& pBuilder, 134 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
|
D | AArch64LDBackend.cpp | 125 void AArch64GNULDBackend::initTargetSymbols(IRBuilder& pBuilder, in initTargetSymbols() 131 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 160 void AArch64GNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) { in defineGOTSymbol() 163 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol() 173 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol() 185 void AArch64GNULDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout() 235 void AArch64GNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout() 312 IRBuilder& pBuilder, in scanErrata() 361 IRBuilder& pBuilder, in doRelax()
|
D | AArch64Relocator.h | 99 IRBuilder& pBuilder, 120 IRBuilder& pBuilder, 130 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.h | 81 IRBuilder& pBuilder, 94 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker, 100 IRBuilder& pBuilder, 105 IRBuilder& pBuilder, 161 IRBuilder& pBuilder, 166 IRBuilder& pBuilder, 226 IRBuilder& pBuilder, 231 IRBuilder& pBuilder,
|
D | X86LDBackend.h | 44 void doPreLayout(IRBuilder& pBuilder); 47 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 84 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 108 void defineGOTSymbol(IRBuilder& pBuilder, Fragment&); 121 virtual void setGOTSectionSize(IRBuilder& pBuilder) = 0; 178 void setGOTSectionSize(IRBuilder& pBuilder); 220 void setGOTSectionSize(IRBuilder& pBuilder);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.h | 53 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 63 void doPreLayout(IRBuilder& pBuilder); 66 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 141 void defineGOTSymbol(IRBuilder& pBuilder); 152 virtual bool relax(Module& pModule, IRBuilder& pBuilder); 158 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
|
D | ARMLDBackend.cpp | 197 void ARMGNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { in initTargetSymbols() 202 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 218 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 228 m_pEXIDXEnd = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 244 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 254 m_pEXIDXEnd = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 283 void ARMGNULDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout() 325 void ARMGNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout() 364 void ARMGNULDBackend::defineGOTSymbol(IRBuilder& pBuilder) { in defineGOTSymbol() 367 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol() [all …]
|
D | ARMRelocator.h | 90 IRBuilder& pBuilder, 111 IRBuilder& pBuilder, 123 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker,
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.h | 48 void doPreLayout(IRBuilder& pBuilder); 53 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 97 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 105 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished); 146 void defineGOTSymbol(IRBuilder& pBuilder, Fragment&); 162 virtual void setGOTSectionSize(IRBuilder& pBuilder);
|
D | HexagonLDBackend.cpp | 84 void HexagonLDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout() 119 void HexagonLDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout() 291 void HexagonLDBackend::setGOTSectionSize(IRBuilder& pBuilder) { in setGOTSectionSize() 323 void HexagonLDBackend::defineGOTSymbol(IRBuilder& pBuilder, Fragment& pFrag) { in defineGOTSymbol() 326 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in defineGOTSymbol() 336 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Resolve>( in defineGOTSymbol() 440 IRBuilder::CreateSectionData(*m_pscommon_1); in initTargetSections() 448 IRBuilder::CreateSectionData(*m_pscommon_2); in initTargetSections() 456 IRBuilder::CreateSectionData(*m_pscommon_4); in initTargetSections() 464 IRBuilder::CreateSectionData(*m_pscommon_8); in initTargetSections() [all …]
|
D | HexagonRelocator.h | 79 IRBuilder& pBuilder, 124 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker, 130 IRBuilder& pBuilder, 135 IRBuilder& pBuilder,
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFBinaryReader.h | 17 class IRBuilder; variable 25 ELFBinaryReader(IRBuilder& pBuilder, const LinkerConfig& pConfig); 34 IRBuilder& m_Builder;
|
D | ELFDynObjReader.h | 18 class IRBuilder; variable 28 IRBuilder& pBuilder, 42 IRBuilder& m_Builder;
|
D | StubFactory.h | 19 class IRBuilder; variable 38 IRBuilder& pBuilder, 42 IRBuilder& pBuilder,
|
D | ELFObjectReader.h | 20 class IRBuilder; variable 38 IRBuilder& pBuilder, 61 IRBuilder& m_Builder;
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Stub.cpp | 33 IRBuilder& pBuilder, in applyFixup() 45 pBuilder.AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in applyFixup() 68 IRBuilder& pBuilder, in applyFixup()
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectReader.cpp | 36 IRBuilder& pBuilder, in ELFObjectReader() 166 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections() 175 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections() 207 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections() 217 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections() 225 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section); in readSections() 245 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections() 253 IRBuilder::CreateBSS(**section); in readSections() 315 IRBuilder::CreateRelocData( in readRelocations()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.h | 48 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 55 void doPreLayout(IRBuilder& pBuilder); 58 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 141 void defineGOTSymbol(IRBuilder& pBuilder); 142 void defineGOTPLTSymbol(IRBuilder& pBuilder); 144 bool relaxRelocation(IRBuilder& pBuilder, Relocation& pRel); 164 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
|
D | MipsLDBackend.cpp | 123 void MipsGNULDBackend::initTargetSymbols(IRBuilder& pBuilder, Module& pModule) { in initTargetSymbols() 126 m_pGOTSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 138 m_pPLTSymbol = pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 149 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Resolve>( in initTargetSymbols() 159 pBuilder.AddSymbol<IRBuilder::AsReferred, IRBuilder::Unresolve>( in initTargetSymbols() 180 void MipsGNULDBackend::doPreLayout(IRBuilder& pBuilder) { in doPreLayout() 230 void MipsGNULDBackend::doPostLayout(Module& pModule, IRBuilder& pBuilder) { in doPostLayout() 454 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readSection() 603 bss_sect_data = IRBuilder::CreateSectionData(bss_sect); in allocateCommonSymbols() 609 tbss_sect_data = IRBuilder::CreateSectionData(tbss_sect); in allocateCommonSymbols() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | LinkerTest.cpp | 56 IRBuilder builder(module, config); in TEST_F() 96 IRBuilder builder(module, config); in TEST_F() 155 IRBuilder builder1(module1, config1); in TEST_F() 205 IRBuilder builder2(module2, config2); in TEST_F() 253 IRBuilder* builder1 = new IRBuilder(module1, config1); in TEST_F() 308 IRBuilder* builder2 = new IRBuilder(module2, config2); in TEST_F() 351 IRBuilder builder(module, config); in TEST_F()
|