/frameworks/compile/mclinker/lib/LD/ |
D | LDSymbol.cpp | 22 typedef GCFactory<LDSymbol, MCLD_SYMBOLS_PER_INPUT> LDSymbolFactory; 24 static llvm::ManagedStatic<LDSymbol> g_NullSymbol; 31 LDSymbol::LDSymbol() in LDSymbol() function in LDSymbol 35 LDSymbol::~LDSymbol() in ~LDSymbol() 39 LDSymbol::LDSymbol(const LDSymbol& pCopy) in LDSymbol() function in LDSymbol 45 LDSymbol& LDSymbol::operator=(const LDSymbol& pCopy) in operator =() 53 LDSymbol* LDSymbol::Create(ResolveInfo& pResolveInfo) in Create() 55 LDSymbol* result = g_LDSymbolFactory->allocate(); in Create() 56 new (result) LDSymbol(); in Create() 61 void LDSymbol::Destroy(LDSymbol*& pSymbol) in Destroy() [all …]
|
D | SectionSymbolSet.cpp | 51 LDSymbol* sym = LDSymbol::Create(*sym_info); in add() 70 LDSymbol* sym = get(pOutSect); in finalize() 99 LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) in get() 105 const LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) const in get()
|
D | LDContext.cpp | 72 LDSymbol* LDContext::getSymbol(unsigned int pIdx) in getSymbol() 79 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const in getSymbol() 87 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) in getSymbol() 97 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const in getSymbol()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | GNULDBackend.h | 99 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol); 144 virtual bool hasEntryInStrTab(const LDSymbol& pSym) const; 190 size_t getSymbolIdx(const LDSymbol* pSymbol) const; 226 bool isDynamicSymbol(const LDSymbol& pSymbol); 239 void setTDATASymbol(LDSymbol& pTDATA) { f_pTDATA = &pTDATA; } in setTDATASymbol() 240 void setTBSSSymbol(LDSymbol& pTBSS) { f_pTBSS = &pTBSS; } in setTBSSSymbol() 243 LDSymbol& getTDATASymbol(); 244 const LDSymbol& getTDATASymbol() const; 247 LDSymbol& getTBSSSymbol(); 248 const LDSymbol& getTBSSSymbol() const; [all …]
|
D | OutputRelocSection.h | 20 class LDSymbol; variable 41 bool addSymbolToDynSym(LDSymbol& pSymbol);
|
D | TargetLDBackend.h | 32 class LDSymbol; variable 108 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol) = 0;
|
/frameworks/compile/mclinker/unittests/ |
D | SymbolCategoryTest.cpp | 60 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F() 61 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F() 62 LDSymbol* cc = LDSymbol::Create(*c); in TEST_F() 63 LDSymbol* dd = LDSymbol::Create(*d); in TEST_F() 64 LDSymbol* ee = LDSymbol::Create(*e); in TEST_F() 103 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F() 104 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F() 105 LDSymbol* cc = LDSymbol::Create(*c); in TEST_F() 106 LDSymbol* dd = LDSymbol::Create(*d); in TEST_F() 107 LDSymbol* ee = LDSymbol::Create(*e); in TEST_F()
|
D | NamePoolTest.cpp | 181 LDSymbol::Type type = LDSymbol::Defined; in TEST_F() 182 LDSymbol::Binding binding = LDSymbol::Global; in TEST_F() 189 LDSymbol *sym = m_pTestee->insertSymbol(name, in TEST_F() 214 LDSymbol::Type type = LDSymbol::Reference; in TEST_F() 215 LDSymbol::Binding binding = LDSymbol::Weak; in TEST_F() 221 LDSymbol *syms[128][128]; in TEST_F() 242 LDSymbol *sym = m_pTestee->insertSymbol(name, in TEST_F() 257 LDSymbol *sym = m_pTestee->insertSymbol(name, in TEST_F()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | LDSymbol.h | 32 class LDSymbol 40 ~LDSymbol(); 43 static LDSymbol* Create(ResolveInfo& pResolveInfo); 45 static void Destroy(LDSymbol*& pSymbol); 52 static LDSymbol* Null(); 131 friend class Chunk<LDSymbol, MCLD_SYMBOLS_PER_INPUT>; 134 LDSymbol(); 135 LDSymbol(const LDSymbol& pCopy); 136 LDSymbol& operator=(const LDSymbol& pCopy);
|
D | LDContext.h | 27 class LDSymbol; variable 40 typedef std::vector<LDSymbol*> SymbolTable; 66 const LDSymbol* getSymbol(unsigned int pIdx) const; 67 LDSymbol* getSymbol(unsigned int pIdx); 69 const LDSymbol* getSymbol(const llvm::StringRef& pName) const; 70 LDSymbol* getSymbol(const llvm::StringRef& pName); 72 void addSymbol(LDSymbol* pSym) in addSymbol()
|
D | SectionSymbolSet.h | 24 class LDSymbol; variable 48 LDSymbol* get(const LDSection& pOutSect); 49 const LDSymbol* get(const LDSection& pOutSect) const; 69 typedef HashEntry<const LDSection*, LDSymbol*, SectCompare> SectHashEntryType;
|
D | ResolveInfo.h | 20 class LDSymbol; variable 137 void setSymPtr(const LDSymbol* pSymPtr) in setSymPtr() 138 { m_Ptr.sym_ptr = const_cast<LDSymbol*>(pSymPtr); } in setSymPtr() 183 LDSymbol* outSymbol() in outSymbol() 186 const LDSymbol* outSymbol() const in outSymbol() 244 LDSymbol* sym_ptr;
|
D | BranchIsland.h | 110 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key() 119 const LDSymbol* symbol() const { return m_pSymbol; } in symbol() 147 const LDSymbol* m_pSymbol;
|
D | NamePool.h | 77 const LDSymbol* findSymbol(const llvm::StringRef& pName) const; 78 LDSymbol* findSymbol(const llvm::StringRef& pName);
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SymbolCategory.h | 20 class LDSymbol; variable 28 typedef std::vector<LDSymbol*> OutputSymbols; 40 SymbolCategory& add(LDSymbol& pSymbol); 42 SymbolCategory& forceLocal(LDSymbol& pSymbol); 44 SymbolCategory& arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo); 48 SymbolCategory& changeToDynamic(LDSymbol& pSymbol); 51 LDSymbol& at(size_t pPosition) in at() 54 const LDSymbol& at(size_t pPosition) const in at() 57 LDSymbol& operator[](size_t pPosition) 60 const LDSymbol& operator[](size_t pPosition) const [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.h | 29 typedef std::vector<LDSymbol*> SymbolListType; 80 bool hasEntryInStrTab(const LDSymbol& pSym) const; 91 LDSymbol* getGOTSymbo() { return m_pGOTSymbol; } in getGOTSymbo() 92 const LDSymbol* getGOTSymbo() const { return m_pGOTSymbol; } in getGOTSymbo() 94 LDSymbol* getGpDispSymbol() { return m_pGpDispSymbol; } in getGpDispSymbol() 95 const LDSymbol* getGpDispSymbol() const { return m_pGpDispSymbol; } in getGpDispSymbol() 115 LDSymbol& pSymbol, 139 LDSymbol* m_pGOTSymbol; 140 LDSymbol* m_pGpDispSymbol;
|
D | MipsGOT.h | 28 class LDSymbol; variable 100 bool dynSymOrderCompare(const LDSymbol* pX, const LDSymbol* pY) const; 143 typedef llvm::DenseMap<const LDSymbol*, unsigned> SymbolOrderMapType;
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 404 LDSymbol* AddSymbol(Input& pInput, 410 LDSymbol::ValueType pValue = 0x0, 450 LDSymbol* AddSymbol(const llvm::StringRef& pName, 455 LDSymbol::ValueType pValue = 0x0, 469 LDSymbol& pSym, 474 LDSymbol* addSymbolFromObject(const std::string& pName, 479 LDSymbol::ValueType pValue, 483 LDSymbol* addSymbolFromDynObj(Input& pInput, 489 LDSymbol::ValueType pValue, 499 template<> LDSymbol* [all …]
|
D | Module.h | 39 class LDSymbol; variable 149 const LDSymbol* getSectionSymbol(const LDSection& pSection) const in getSectionSymbol() 152 LDSymbol* getSectionSymbol(const LDSection& pSection) in getSectionSymbol()
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 445 LDSymbol* IRBuilder::AddSymbol(Input& pInput, in AddSymbol() 451 LDSymbol::ValueType pValue, in AddSymbol() 482 … LDSymbol* input_sym = addSymbolFromObject(name, pType, pDesc, pBind, pSize, pValue, frag, pVis); in AddSymbol() 497 LDSymbol* IRBuilder::addSymbolFromObject(const std::string& pName, in addSymbolFromObject() 502 LDSymbol::ValueType pValue, in addSymbolFromObject() 539 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject() 544 LDSymbol* output_sym = resolved_result.info->outSymbol(); in addSymbolFromObject() 556 output_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject() 602 LDSymbol* IRBuilder::addSymbolFromDynObj(Input& pInput, in addSymbolFromDynObj() 608 LDSymbol::ValueType pValue, in addSymbolFromDynObj() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.h | 106 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol() 107 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol() 163 LDSymbol* m_pGOTSymbol; 164 LDSymbol* m_pEXIDXStart; 165 LDSymbol* m_pEXIDXEnd;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.h | 195 LDSymbol* m_psdabase; 197 LDSymbol* m_pGOTSymbol; 198 LDSymbol* m_pBSSEnd;
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 68 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol, Category::Type pTarget) in add() 92 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol) in add() 98 SymbolCategory& SymbolCategory::forceLocal(LDSymbol& pSymbol) in forceLocal() 103 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, in arrange() 182 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, in arrange() 216 SymbolCategory& SymbolCategory::changeToDynamic(LDSymbol& pSymbol) in changeToDynamic()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86LDBackend.h | 91 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol() 92 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol() 142 LDSymbol* m_pGOTSymbol;
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 668 bool GNULDBackend::finalizeTLSSymbol(LDSymbol& pSymbol) in finalizeTLSSymbol() 902 LDSymbol& pSymbol, in emitSymbol32() 925 LDSymbol& pSymbol, in emitSymbol64() 980 emitSymbol32(symtab32[0], *LDSymbol::Null(), strtab, 0, 0); in emitRegNamePools() 982 emitSymbol64(symtab64[0], *LDSymbol::Null(), strtab, 0, 0); in emitRegNamePools() 987 entry = m_pSymIndexMap->insert(LDSymbol::Null(), sym_exist); in emitRegNamePools() 1055 emitSymbol32(symtab32[0], *LDSymbol::Null(), strtab, 0, 0); in emitDynNamePools() 1057 emitSymbol64(symtab64[0], *LDSymbol::Null(), strtab, 0, 0); in emitDynNamePools() 1242 std::pair<LDSymbol*, uint32_t> > SymMapType; in emitGNUHashTab() 1327 bool GNULDBackend::hasEntryInStrTab(const LDSymbol& pSym) const in hasEntryInStrTab() [all …]
|