/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 | 97 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol); 145 virtual bool hasEntryInStrTab(const LDSymbol& pSym) const; 186 size_t getSymbolIdx(const LDSymbol* pSymbol) const; 274 bool isDynamicSymbol(const LDSymbol& pSymbol) const; 287 void setTDATASymbol(LDSymbol& pTDATA) { f_pTDATA = &pTDATA; } in setTDATASymbol() 288 void setTBSSSymbol(LDSymbol& pTBSS) { f_pTBSS = &pTBSS; } in setTBSSSymbol() 291 LDSymbol& getTDATASymbol(); 292 const LDSymbol& getTDATASymbol() const; 295 LDSymbol& getTBSSSymbol(); 296 const LDSymbol& getTBSSSymbol() const; [all …]
|
D | OutputRelocSection.h | 17 class LDSymbol; variable 41 bool addSymbolToDynSym(LDSymbol& pSymbol);
|
/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 | 34 class LDSymbol 42 ~LDSymbol(); 45 static LDSymbol* Create(ResolveInfo& pResolveInfo); 47 static void Destroy(LDSymbol*& pSymbol); 54 static LDSymbol* Null(); 136 friend class Chunk<LDSymbol, MCLD_SYMBOLS_PER_INPUT>; 139 LDSymbol(); 140 LDSymbol(const LDSymbol& pCopy); 141 LDSymbol& operator=(const LDSymbol& pCopy);
|
D | LDContext.h | 24 class LDSymbol; variable 37 typedef std::vector<LDSymbol*> SymbolTable; 63 const LDSymbol* getSymbol(unsigned int pIdx) const; 64 LDSymbol* getSymbol(unsigned int pIdx); 66 const LDSymbol* getSymbol(const llvm::StringRef& pName) const; 67 LDSymbol* getSymbol(const llvm::StringRef& pName); 69 void addSymbol(LDSymbol* pSym) in addSymbol()
|
D | SectionSymbolSet.h | 21 class LDSymbol; variable 45 LDSymbol* get(const LDSection& pOutSect); 46 const LDSymbol* get(const LDSection& pOutSect) const; 66 typedef HashEntry<const LDSection*, LDSymbol*, SectCompare> SectHashEntryType;
|
D | ResolveInfo.h | 17 class LDSymbol; variable 135 void setSymPtr(const LDSymbol* pSymPtr) in setSymPtr() 136 { m_Ptr.sym_ptr = const_cast<LDSymbol*>(pSymPtr); } in setSymPtr() 187 LDSymbol* outSymbol() in outSymbol() 190 const LDSymbol* outSymbol() const in outSymbol() 255 LDSymbol* sym_ptr;
|
D | NamePool.h | 76 LDSymbol::ValueType pValue, 82 const LDSymbol* findSymbol(const llvm::StringRef& pName) const; 83 LDSymbol* findSymbol(const llvm::StringRef& pName);
|
D | BranchIsland.h | 108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key() 117 const LDSymbol* symbol() const { return m_pSymbol; } in symbol() 161 const LDSymbol* m_pSymbol;
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SymbolCategory.h | 17 class LDSymbol; variable 25 typedef std::vector<LDSymbol*> OutputSymbols; 37 SymbolCategory& add(LDSymbol& pSymbol); 39 SymbolCategory& forceLocal(LDSymbol& pSymbol); 41 SymbolCategory& arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo); 45 SymbolCategory& changeToDynamic(LDSymbol& pSymbol); 48 LDSymbol& at(size_t pPosition) in at() 51 const LDSymbol& at(size_t pPosition) const in at() 54 LDSymbol& operator[](size_t pPosition) 57 const LDSymbol& operator[](size_t pPosition) const [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 390 LDSymbol* AddSymbol(Input& pInput, 396 LDSymbol::ValueType pValue = 0x0, 436 LDSymbol* AddSymbol(const llvm::StringRef& pName, 441 LDSymbol::ValueType pValue = 0x0, 455 LDSymbol& pSym, 464 LDSymbol* addSymbolFromObject(const std::string& pName, 469 LDSymbol::ValueType pValue, 473 LDSymbol* addSymbolFromDynObj(Input& pInput, 479 LDSymbol::ValueType pValue, 489 template<> LDSymbol* [all …]
|
D | LinkerScript.h | 24 class LDSymbol; variable 40 typedef std::vector<std::pair<LDSymbol*, Assignment> > Assignments;
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.h | 31 typedef std::vector<LDSymbol*> SymbolListType; 85 bool hasEntryInStrTab(const LDSymbol& pSym) const; 108 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol() 109 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol() 111 LDSymbol* getGpDispSymbol() { return m_pGpDispSymbol; } in getGpDispSymbol() 112 const LDSymbol* getGpDispSymbol() const { return m_pGpDispSymbol; } in getGpDispSymbol() 139 LDSymbol& pSymbol, 229 LDSymbol* m_pGOTSymbol; 230 LDSymbol* m_pPLTSymbol; 231 LDSymbol* m_pGpDispSymbol;
|
D | MipsGOT.h | 27 class LDSymbol; variable 83 bool dynSymOrderCompare(const LDSymbol* pX, const LDSymbol* pY) const; 165 typedef llvm::DenseMap<const LDSymbol*, unsigned> SymbolOrderMapType;
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 407 LDSymbol* IRBuilder::AddSymbol(Input& pInput, in AddSymbol() 413 LDSymbol::ValueType pValue, in AddSymbol() 451 … LDSymbol* input_sym = addSymbolFromObject(name, pType, pDesc, pBind, pSize, pValue, frag, pVis); in AddSymbol() 466 LDSymbol* IRBuilder::addSymbolFromObject(const std::string& pName, in addSymbolFromObject() 471 LDSymbol::ValueType pValue, in addSymbolFromObject() 508 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject() 513 LDSymbol* output_sym = resolved_result.info->outSymbol(); in addSymbolFromObject() 525 output_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject() 541 LDSymbol* IRBuilder::addSymbolFromDynObj(Input& pInput, in addSymbolFromDynObj() 547 LDSymbol::ValueType pValue, in addSymbolFromDynObj() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.h | 109 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol() 110 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol() 179 LDSymbol* m_pGOTSymbol; 180 LDSymbol* m_pEXIDXStart; 181 LDSymbol* m_pEXIDXEnd;
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64LDBackend.h | 99 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol() 100 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol() 159 LDSymbol* m_pGOTSymbol;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.h | 197 LDSymbol* m_psdabase; 199 LDSymbol* m_pGOTSymbol; 200 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() 199 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, in arrange() 233 SymbolCategory& SymbolCategory::changeToDynamic(LDSymbol& pSymbol) in changeToDynamic()
|
/frameworks/compile/mclinker/lib/Script/ |
D | Assignment.cpp | 85 script.assignments().push_back(std::make_pair((LDSymbol*)NULL, *this)); in activate() 123 script.assignments().push_back(std::make_pair((LDSymbol*)NULL, *this)); in activate() 159 script.assignments().push_back(std::make_pair((LDSymbol*)NULL, *this)); in activate()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86LDBackend.h | 92 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol() 93 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol() 148 LDSymbol* m_pGOTSymbol;
|