/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() 94 LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) in get() 100 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()
|
D | NamePool.cpp | 150 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) in findSymbol() 159 const LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) const in findSymbol()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | GNULDBackend.h | 99 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol); 187 size_t getSymbolIdx(const LDSymbol* pSymbol) const; 214 LDSymbol& getTDATASymbol(); 215 const LDSymbol& getTDATASymbol() const; 218 LDSymbol& getTBSSSymbol(); 219 const LDSymbol& getTBSSSymbol() const; 239 uint64_t getSymbolSize(const LDSymbol& pSymbol) const; 241 uint64_t getSymbolInfo(const LDSymbol& pSymbol) const; 243 uint64_t getSymbolValue(const LDSymbol& pSymbol) const; 245 uint64_t getSymbolShndx(const LDSymbol& pSymbol) const; [all …]
|
D | OutputRelocSection.h | 20 class LDSymbol; variable 41 bool addSymbolToDynSym(LDSymbol& pSymbol);
|
D | TargetLDBackend.h | 32 class LDSymbol; variable 130 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()
|
D | LDSymbolTest.h | 17 class LDSymbol; variable
|
/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() 184 LDSymbol* outSymbol() in outSymbol() 187 const LDSymbol* outSymbol() const in outSymbol() 245 LDSymbol* sym_ptr;
|
D | BranchIsland.h | 111 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key() 120 const LDSymbol* symbol() const { return m_pSymbol; } in symbol() 148 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/ |
D | IRBuilder.h | 402 LDSymbol* AddSymbol(Input& pInput, 408 LDSymbol::ValueType pValue = 0x0, 448 LDSymbol* AddSymbol(const llvm::StringRef& pName, 453 LDSymbol::ValueType pValue = 0x0, 467 LDSymbol& pSym, 472 LDSymbol* addSymbolFromObject(const std::string& pName, 477 LDSymbol::ValueType pValue, 481 LDSymbol* addSymbolFromDynObj(Input& pInput, 487 LDSymbol::ValueType pValue, 497 template<> LDSymbol* [all …]
|
D | Module.h | 37 class LDSymbol; variable 125 LDSymbol* getSectionSymbol(const LDSection* pSection); 126 const LDSymbol* getSectionSymbol(const LDSection* pSection) const;
|
/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& changeLocalToDynamic(const 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/Core/ |
D | IRBuilder.cpp | 433 LDSymbol* IRBuilder::AddSymbol(Input& pInput, in AddSymbol() 439 LDSymbol::ValueType pValue, in AddSymbol() 469 … LDSymbol* input_sym = addSymbolFromObject(name, pType, pDesc, pBind, pSize, pValue, frag, pVis); in AddSymbol() 484 LDSymbol* IRBuilder::addSymbolFromObject(const std::string& pName, in addSymbolFromObject() 489 LDSymbol::ValueType pValue, in addSymbolFromObject() 526 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject() 531 LDSymbol* output_sym = resolved_result.info->outSymbol(); in addSymbolFromObject() 543 output_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject() 589 LDSymbol* IRBuilder::addSymbolFromDynObj(Input& pInput, in addSymbolFromDynObj() 595 LDSymbol::ValueType pValue, in addSymbolFromDynObj() [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.h | 127 LDSymbol& pSymbol, 151 LDSymbol* m_pGOTSymbol; 152 LDSymbol* m_pGpDispSymbol; 154 std::vector<LDSymbol*> m_GlobalGOTSyms; 158 bool isGlobalGOTSymbol(const LDSymbol& pSymbol) const;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.h | 191 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker, 235 LDSymbol* m_pGOTSymbol; 236 LDSymbol* m_pEXIDXStart; 237 LDSymbol* m_pEXIDXEnd;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.h | 143 LDSymbol* m_pGOTSymbol; 144 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() 208 SymbolCategory& SymbolCategory::changeLocalToDynamic(const LDSymbol& pSymbol) in changeLocalToDynamic()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 662 bool GNULDBackend::finalizeTLSSymbol(LDSymbol& pSymbol) in finalizeTLSSymbol() 721 LDSymbol* input_sym = pReloc.symInfo()->outSymbol(); in partialScanRelocation() 917 LDSymbol& pSymbol, in emitSymbol32() 940 LDSymbol& pSymbol, in emitSymbol64() 996 emitSymbol32(symtab32[0], *LDSymbol::Null(), strtab, 0, 0); in emitRegNamePools() 998 emitSymbol64(symtab64[0], *LDSymbol::Null(), strtab, 0, 0); in emitRegNamePools() 1003 entry = m_pSymIndexMap->insert(LDSymbol::Null(), sym_exist); in emitRegNamePools() 1071 emitSymbol32(symtab32[0], *LDSymbol::Null(), strtab, 0, 0); in emitDynNamePools() 1073 emitSymbol64(symtab64[0], *LDSymbol::Null(), strtab, 0, 0); in emitDynNamePools() 1263 std::pair<LDSymbol*, uint32_t> > SymMapType; in emitGNUHashTab() [all …]
|