Home
last modified time | relevance | path

Searched refs:LDSymbol (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/compile/mclinker/lib/LD/
DLDSymbol.cpp22 typedef GCFactory<LDSymbol, MCLD_SYMBOLS_PER_INPUT> LDSymbolFactory;
24 static llvm::ManagedStatic<LDSymbol> g_NullSymbol;
31 LDSymbol::LDSymbol() : m_pResolveInfo(NULL), m_pFragRef(NULL), m_Value(0) { in LDSymbol() function in mcld::LDSymbol
34 LDSymbol::~LDSymbol() { in ~LDSymbol()
37 LDSymbol::LDSymbol(const LDSymbol& pCopy) in LDSymbol() function in mcld::LDSymbol
43 LDSymbol& LDSymbol::operator=(const LDSymbol& pCopy) { in operator =()
50 LDSymbol* LDSymbol::Create(ResolveInfo& pResolveInfo) { in Create()
51 LDSymbol* result = g_LDSymbolFactory->allocate(); in Create()
52 new (result) LDSymbol(); in Create()
57 void LDSymbol::Destroy(LDSymbol*& pSymbol) { in Destroy()
[all …]
DSectionSymbolSet.cpp48 LDSymbol* sym = LDSymbol::Create(*sym_info); in add()
67 LDSymbol* sym = get(pOutSect); in finalize()
96 LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) { in get()
101 const LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) const { in get()
DLDContext.cpp67 LDSymbol* LDContext::getSymbol(unsigned int pIdx) { in getSymbol()
73 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const { in getSymbol()
79 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) { in getSymbol()
88 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const { in getSymbol()
DNamePool.cpp62 LDSymbol::ValueType pValue, in insertSymbol()
142 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) { in findSymbol()
150 const LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) const { in findSymbol()
/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h95 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol);
144 virtual bool hasEntryInStrTab(const LDSymbol& pSym) const;
185 size_t getSymbolIdx(const LDSymbol* pSymbol) const;
272 bool isDynamicSymbol(const LDSymbol& pSymbol) const;
284 void setTDATASymbol(LDSymbol& pTDATA) { f_pTDATA = &pTDATA; } in setTDATASymbol()
285 void setTBSSSymbol(LDSymbol& pTBSS) { f_pTBSS = &pTBSS; } in setTBSSSymbol()
288 LDSymbol& getTDATASymbol();
289 const LDSymbol& getTDATASymbol() const;
292 LDSymbol& getTBSSSymbol();
293 const LDSymbol& getTBSSSymbol() const;
[all …]
DOutputRelocSection.h16 class LDSymbol; variable
39 bool addSymbolToDynSym(LDSymbol& pSymbol);
/frameworks/compile/mclinker/unittests/
DSymbolCategoryTest.cpp55 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F()
56 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F()
57 LDSymbol* cc = LDSymbol::Create(*c); in TEST_F()
58 LDSymbol* dd = LDSymbol::Create(*d); in TEST_F()
59 LDSymbol* ee = LDSymbol::Create(*e); in TEST_F()
98 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F()
99 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F()
100 LDSymbol* cc = LDSymbol::Create(*c); in TEST_F()
101 LDSymbol* dd = LDSymbol::Create(*d); in TEST_F()
102 LDSymbol* ee = LDSymbol::Create(*e); in TEST_F()
DNamePoolTest.cpp145 LDSymbol::Type type = LDSymbol::Defined; in TEST_F()
146 LDSymbol::Binding binding = LDSymbol::Global; in TEST_F()
153 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F()
171 LDSymbol::Type type = LDSymbol::Reference; in TEST_F()
172 LDSymbol::Binding binding = LDSymbol::Weak; in TEST_F()
178 LDSymbol* syms[128][128]; in TEST_F()
193 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F()
202 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F()
/frameworks/compile/mclinker/include/mcld/LD/
DLDSymbol.h34 class LDSymbol {
41 ~LDSymbol();
44 static LDSymbol* Create(ResolveInfo& pResolveInfo);
46 static void Destroy(LDSymbol*& pSymbol);
53 static LDSymbol* Null();
126 friend class Chunk<LDSymbol, MCLD_SYMBOLS_PER_INPUT>;
130 LDSymbol();
131 LDSymbol(const LDSymbol& pCopy);
132 LDSymbol& operator=(const LDSymbol& pCopy);
DLDContext.h26 class LDSymbol; variable
38 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) { m_SymTab.push_back(pSym); } in addSymbol()
DSectionSymbolSet.h20 class LDSymbol; variable
43 LDSymbol* get(const LDSection& pOutSect);
44 const LDSymbol* get(const LDSection& pOutSect) const;
62 typedef HashEntry<const LDSection*, LDSymbol*, SectCompare> SectHashEntryType;
DResolveInfo.h17 class LDSymbol; variable
118 void setSymPtr(const LDSymbol* pSymPtr) { in setSymPtr()
119 m_Ptr.sym_ptr = const_cast<LDSymbol*>(pSymPtr); in setSymPtr()
170 LDSymbol* outSymbol() { return m_Ptr.sym_ptr; } in outSymbol()
172 const LDSymbol* outSymbol() const { return m_Ptr.sym_ptr; } in outSymbol()
229 LDSymbol* sym_ptr;
DNamePool.h72 LDSymbol::ValueType pValue,
78 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
79 LDSymbol* findSymbol(const llvm::StringRef& pName);
DBranchIsland.h108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key()
115 const LDSymbol* symbol() const { return m_pSymbol; } in symbol()
153 const LDSymbol* m_pSymbol;
/frameworks/compile/mclinker/include/mcld/MC/
DSymbolCategory.h16 class LDSymbol; variable
23 typedef std::vector<LDSymbol*> OutputSymbols;
35 SymbolCategory& add(LDSymbol& pSymbol);
37 SymbolCategory& forceLocal(LDSymbol& pSymbol);
39 SymbolCategory& arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo);
43 SymbolCategory& changeToDynamic(LDSymbol& pSymbol);
46 LDSymbol& at(size_t pPosition) { return *m_OutputSymbols.at(pPosition); } in at()
48 const LDSymbol& at(size_t pPosition) const { in at()
52 LDSymbol& operator[](size_t pPosition) { return *m_OutputSymbols[pPosition]; }
54 const LDSymbol& operator[](size_t pPosition) const {
[all …]
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h386 LDSymbol* AddSymbol(Input& pInput,
392 LDSymbol::ValueType pValue = 0x0,
431 LDSymbol* AddSymbol(
437 LDSymbol::ValueType pValue = 0x0,
452 LDSymbol& pSym,
461 LDSymbol* addSymbolFromObject(const std::string& pName,
466 LDSymbol::ValueType pValue,
470 LDSymbol* addSymbolFromDynObj(Input& pInput,
476 LDSymbol::ValueType pValue,
487 LDSymbol* IRBuilder::AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>(
[all …]
DModule.h29 class LDSymbol; variable
138 const LDSymbol* getSectionSymbol(const LDSection& pSection) const { in getSectionSymbol()
142 LDSymbol* getSectionSymbol(const LDSection& pSection) { in getSectionSymbol()
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp398 LDSymbol* IRBuilder::AddSymbol(Input& pInput, in AddSymbol()
404 LDSymbol::ValueType pValue, in AddSymbol()
438 LDSymbol* input_sym = addSymbolFromObject( in AddSymbol()
455 LDSymbol* IRBuilder::addSymbolFromObject(const std::string& pName, in addSymbolFromObject()
460 LDSymbol::ValueType pValue, in addSymbolFromObject()
497 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject()
502 LDSymbol* output_sym = resolved_result.info->outSymbol(); in addSymbolFromObject()
513 output_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject()
529 LDSymbol* IRBuilder::addSymbolFromDynObj(Input& pInput, in addSymbolFromDynObj()
535 LDSymbol::ValueType pValue, in addSymbolFromDynObj()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h32 typedef std::vector<LDSymbol*> SymbolListType;
86 bool hasEntryInStrTab(const LDSymbol& pSym) const;
109 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol()
110 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol()
112 LDSymbol* getGpDispSymbol() { return m_pGpDispSymbol; } in getGpDispSymbol()
113 const LDSymbol* getGpDispSymbol() const { return m_pGpDispSymbol; } in getGpDispSymbol()
148 LDSymbol& pSymbol,
251 LDSymbol* m_pGOTSymbol;
252 LDSymbol* m_pPLTSymbol;
253 LDSymbol* m_pGpDispSymbol;
DMipsGOT.h27 class LDSymbol; variable
91 bool dynSymOrderCompare(const LDSymbol* pX, const LDSymbol* pY) const;
183 typedef llvm::DenseMap<const LDSymbol*, unsigned> SymbolOrderMapType;
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.h109 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol()
110 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol()
193 LDSymbol* m_pGOTSymbol;
194 LDSymbol* m_pEXIDXStart;
195 LDSymbol* m_pEXIDXEnd;
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64LDBackend.h100 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol()
101 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol()
164 LDSymbol* m_pGOTSymbol;
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp67 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol, Category::Type pTarget) { in add()
89 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol) { in add()
94 SymbolCategory& SymbolCategory::forceLocal(LDSymbol& pSymbol) { in forceLocal()
98 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, in arrange()
190 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, in arrange()
222 SymbolCategory& SymbolCategory::changeToDynamic(LDSymbol& pSymbol) { in changeToDynamic()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h190 LDSymbol* m_psdabase;
192 LDSymbol* m_pGOTSymbol;
193 LDSymbol* m_pBSSEnd;
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.h92 LDSymbol* getGOTSymbol() { return m_pGOTSymbol; } in getGOTSymbol()
93 const LDSymbol* getGOTSymbol() const { return m_pGOTSymbol; } in getGOTSymbol()
145 LDSymbol* m_pGOTSymbol;

123