/frameworks/compile/mclinker/include/mcld/LD/ |
ObjectWriter.h | 28 virtual std::error_code writeObject(Module& pModule, 31 virtual size_t getOutputSize(const Module& pModule) const = 0;
|
ELFObjectWriter.h | 37 std::error_code writeObject(Module& pModule, FileOutputBuffer& pOutput); 39 size_t getOutputSize(const Module& pModule) const; 42 void writeSection(Module& pModule, 52 const Module& pModule, 56 const Module& pModule) const; 60 void emitSectionHeader(const Module& pModule, 70 const Module& pModule, 75 void emitEhFrame(Module& pModule, 107 uint64_t getLastStartOffset(const Module& pModule) const { 121 uint64_t ELFObjectWriter::getLastStartOffset<32>(const Module& pModule) const [all...] |
/frameworks/compile/mclinker/include/mcld/Target/ |
TargetLDBackend.h | 62 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) {} 63 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) {} 65 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0; 82 virtual void layout(Module& pModule) = 0; 85 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0; 88 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0; 102 virtual void sizeNamePools(Module& pModule) = 0; 116 virtual bool allocateCommonSymbols(Module& pModule) = 0; 119 virtual void preMergeSections(Module& pModule) { } 122 virtual void postMergeSections(Module& pModule) { } [all...] |
GNULDBackend.h | 56 GNUArchiveReader* createArchiveReader(Module& pModule); 78 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule); 110 void sizeShstrtab(Module& pModule); 115 virtual void sizeNamePools(Module& pModule); 122 virtual void emitRegNamePools(const Module& pModule, 126 virtual void emitDynNamePools(Module& pModule, FileOutputBuffer& pOutput); 147 virtual void orderSymbolTable(Module& pModule); 190 virtual bool allocateCommonSymbols(Module& pModule); 296 llvm::StringRef getEntry(const Module& pModule) const; 331 void createAndSizeEhFrameHdr(Module& pModule); [all...] |
/frameworks/compile/mclinker/lib/Script/ |
EntryCmd.cpp | 31 void EntryCmd::activate(Module& pModule) { 32 LinkerScript& script = pModule.getScript();
|
OutputCmd.cpp | 30 void OutputCmd::activate(Module& pModule) { 31 pModule.getScript().setOutputFile(m_OutputFile);
|
SearchDirCmd.cpp | 31 void SearchDirCmd::activate(Module& pModule) { 32 pModule.getScript().directories().insert(m_Path);
|
NullaryOp.cpp | 20 const Module& pModule, 29 const Module& pModule, 38 const Module& pModule,
|
UnaryOp.cpp | 27 const Module& pModule, 36 const Module& pModule, 45 const Module& pModule, 54 const Module& pModule, 62 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module& pModule, 70 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module& pModule, 76 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 92 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module& pModule, 98 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 115 const Module& pModule, [all...] |
AssertCmd.cpp | 42 void AssertCmd::activate(Module& pModule) { 43 pModule.getScript().assertions().push_back(*this);
|
BinaryOp.cpp | 27 IntOperand* BinaryOp<Operator::MUL>::eval(const Module& pModule, 35 IntOperand* BinaryOp<Operator::DIV>::eval(const Module& pModule, 43 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& pModule, 51 IntOperand* BinaryOp<Operator::ADD>::eval(const Module& pModule, 59 IntOperand* BinaryOp<Operator::SUB>::eval(const Module& pModule, 67 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module& pModule, 75 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module& pModule, 83 IntOperand* BinaryOp<Operator::LT>::eval(const Module& pModule, 91 IntOperand* BinaryOp<Operator::LE>::eval(const Module& pModule, 99 IntOperand* BinaryOp<Operator::GT>::eval(const Module& pModule, [all...] |
OutputArchCmd.cpp | 28 void OutputArchCmd::activate(Module& pModule) {
|
SectionsCmd.cpp | 63 void SectionsCmd::activate(Module& pModule) { 70 (*it)->activate(pModule); 76 (*it)->activate(pModule); 80 (*assign)->activate(pModule);
|
TernaryOp.cpp | 21 const Module& pModule, 34 const Module& pModule,
|
/frameworks/compile/mclinker/include/mcld/ |
Linker.h | 39 bool normalize(Module& pModule, IRBuilder& pBuilder); 42 bool resolve(Module& pModule); 48 bool link(Module& pModule, IRBuilder& pBuilder); 55 bool emit(const Module& pModule, const std::string& pPath); 58 bool emit(const Module& pModule, int pFileDescriptor);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMLDBackend.h | 50 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder); 53 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 66 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 119 virtual void preMergeSections(Module& pModule); 122 virtual void postMergeSections(Module& pModule); 125 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection); 130 const Module& pModule, 152 virtual bool relax(Module& pModule, IRBuilder& pBuilder); 158 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished); 174 virtual void doCreateProgramHdrs(Module& pModule); [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
AArch64LDBackend.h | 41 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder); 44 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 57 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 111 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection); 122 void scanErrata(Module& pModule, 134 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished); 147 virtual void doCreateProgramHdrs(Module& pModule);
|
/frameworks/compile/mclinker/include/mcld/Script/ |
EntryCmd.h | 35 void activate(Module& pModule);
|
OutputArchCmd.h | 35 void activate(Module& pModule);
|
OutputCmd.h | 36 void activate(Module& pModule);
|
RpnEvaluator.h | 25 RpnEvaluator(const Module& pModule, const TargetLDBackend& pBackend);
|
SearchDirCmd.h | 31 void activate(Module& pModule);
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonLDBackend.h | 50 bool allocateCommonSymbols(Module& pModule); 53 void doPostLayout(Module& pModule, IRBuilder& pBuilder); 95 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder); 97 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule); 105 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished); 128 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection); 157 void doCreateProgramHdrs(Module& pModule);
|
/frameworks/compile/mclinker/lib/Core/ |
Linker.cpp | 66 bool Linker::link(Module& pModule, IRBuilder& pBuilder) { 67 if (!normalize(pModule, pBuilder)) 70 if (!resolve(pModule)) 77 bool Linker::normalize(Module& pModule, IRBuilder& pBuilder) { 85 if (!m_pObjLinker->initialize(pModule, pBuilder)) 109 << pModule.getInputTree().size() << ")\n"; 112 inEnd = pModule.getInputTree().dfs_end(); 113 for (input = pModule.getInputTree().dfs_begin(); input != inEnd; ++input) { 143 } else if (pModule.getLibraryList().empty()) { 165 bool Linker::resolve(Module& pModule) { [all...] |
/frameworks/compile/mclinker/lib/Target/ |
OutputRelocSection.cpp | 24 OutputRelocSection::OutputRelocSection(Module& pModule, LDSection& pSection) 25 : m_Module(pModule),
|