Searched refs:LDSymbol (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/compile/mclinker/lib/LD/
H A DLDSymbol.cpp1 //===- LDSymbol.cpp -------------------------------------------------------===//
10 #include <mcld/LD/LDSymbol.h>
16 LDSymbol::LDSymbol() function in class:LDSymbol
20 LDSymbol::~LDSymbol()
24 LDSymbol::LDSymbol(const LDSymbol& pCopy) function in class:LDSymbol
30 LDSymbol
[all...]
H A DLDContext.cpp11 #include <mcld/LD/LDSymbol.h>
70 LDSymbol* LDContext::getSymbol(unsigned int pIdx)
77 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const
85 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName)
95 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const
H A DNamePool.cpp139 /// findSymbol - find the resolved output LDSymbol
140 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName)
148 /// findSymbol - find the resolved output LDSymbol
149 const LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) const
H A DAndroid.mk36 LDSymbol.cpp \
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDContext.h28 class LDSymbol;
41 typedef std::vector<LDSymbol*> SymbolTable;
83 LDSymbol* getSymbol(unsigned int pIdx);
85 const LDSymbol* getSymbol(unsigned int pIdx) const;
87 LDSymbol* getSymbol(const llvm::StringRef& pName);
89 const LDSymbol* getSymbol(const llvm::StringRef& pName) const;
91 void addSymbol(LDSymbol* pSym)
H A DLDSymbol.h1 //===- LDSymbol.h ---------------------------------------------------------===//
24 /** \class LDSymbol
25 * \brief LDSymbol provides a consistent abstraction for different formats
28 class LDSymbol class in namespace:mcld
37 LDSymbol();
38 LDSymbol(const LDSymbol& pCopy);
39 LDSymbol& operator=(const LDSymbol& pCopy);
40 ~LDSymbol();
[all...]
H A DResolveInfo.h21 class LDSymbol;
32 * - Value - the pointer to another LDSymbol
131 void setSymPtr(const LDSymbol* pSymPtr)
132 { m_Ptr.sym_ptr = const_cast<LDSymbol*>(pSymPtr); }
176 LDSymbol* outSymbol()
179 const LDSymbol* outSymbol() const
237 LDSymbol* sym_ptr;
H A DNamePool.h63 /// @note pResult.override is true if the output LDSymbol also need to be
75 /// findSymbol - find the resolved output LDSymbol
76 LDSymbol* findSymbol(const llvm::StringRef& pName);
77 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
H A DRelocation.h20 #include <mcld/LD/LDSymbol.h>
H A DRelocationFactory.h20 class LDSymbol;
/frameworks/compile/mclinker/include/mcld/MC/
H A DSymbolCategory.h20 class LDSymbol;
23 * \brief SymbolCategory groups output LDSymbol into different categories.
28 typedef std::vector<LDSymbol*> OutputSymbols;
40 SymbolCategory& add(LDSymbol& pSymbol);
42 SymbolCategory& forceLocal(LDSymbol& pSymbol);
44 SymbolCategory& arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo);
49 LDSymbol& at(size_t pPosition)
52 const LDSymbol& at(size_t pPosition) const
55 LDSymbol& operator[](size_t pPosition)
58 const LDSymbol
[all...]
H A DMCLinker.h77 LDSymbol* addSymbol(const llvm::StringRef& pName,
82 LDSymbol::ValueType pValue,
106 LDSymbol* defineSymbol(const llvm::StringRef& pName,
112 LDSymbol::ValueType pValue,
160 const LDSymbol& pSym,
199 LDSymbol* defineSymbolForcefully(const llvm::StringRef& pName,
205 LDSymbol::ValueType pValue,
209 LDSymbol* defineAndResolveSymbolForcefully(const llvm::StringRef& pName,
215 LDSymbol::ValueType pValue,
219 LDSymbol* defineSymbolAsRefere
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.h58 const LDSymbol& pInputSym,
151 const LDSymbol& pInputSym,
157 const LDSymbol& pInputSym,
170 const LDSymbol& pInputSym,
180 LDSymbol* m_pGOTSymbol;
181 LDSymbol* m_pGpDispSymbol;
183 std::vector<LDSymbol*> m_GlobalGOTSyms;
187 bool isGlobalGOTSymbol(const LDSymbol& pSymbol) const;
191 LDSymbol& pSymbol,
H A DMipsLDBackend.cpp120 const LDSymbol& pInputSym,
266 bool MipsGNULDBackend::isGlobalGOTSymbol(const LDSymbol& pSymbol) const
275 LDSymbol& pSymbol,
367 for (std::vector<LDSymbol*>::const_iterator symbol = m_GlobalGOTSyms.begin(),
618 const LDSymbol& pInputSym,
629 const LDSymbol& pInputSym,
738 const LDSymbol& pInputSym,
/frameworks/compile/mclinker/include/mcld/Target/
H A DGNULDBackend.h38 bool operator()(const LDSymbol* X, const LDSymbol* Y) const
44 size_t operator()(const LDSymbol* pKey) const
258 size_t getSymbolIdx(LDSymbol* pSymbol) const;
286 uint64_t getSymbolSize(const LDSymbol& pSymbol) const;
288 uint64_t getSymbolInfo(const LDSymbol& pSymbol) const;
290 uint64_t getSymbolValue(const LDSymbol& pSymbol) const;
292 uint64_t getSymbolShndx(const LDSymbol& pSymbol, const Layout& pLayout) const;
300 static bool isDynamicSymbol(const LDSymbol& pSymbol, const Output& pOutput);
409 typedef HashEntry<LDSymbol*, size_
[all...]
H A DTargetLDBackend.h68 /// @param pInputSym - the input LDSymbol of relocation target symbol
71 const LDSymbol& pInputSym,
/frameworks/compile/mclinker/unittests/
H A DSymbolCategoryTest.cpp11 #include <mcld/LD/LDSymbol.h>
60 LDSymbol aa;
61 LDSymbol bb;
62 LDSymbol cc;
63 LDSymbol dd;
64 LDSymbol ee;
H A DLDSymbolTest.h17 class LDSymbol;
H A DNamePoolTest.cpp14 #include <mcld/LD/LDSymbol.h>
181 LDSymbol::Type type = LDSymbol::Defined;
182 LDSymbol::Binding binding = LDSymbol::Global;
189 LDSymbol *sym = m_pTestee->insertSymbol(name,
214 LDSymbol::Type type = LDSymbol::Reference;
215 LDSymbol::Binding binding = LDSymbol
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.h172 const LDSymbol& pInputSym,
196 const LDSymbol& pInputSym,
202 const LDSymbol& pInputSym,
213 /// @return the output LDSymbol of the copy symbol
214 LDSymbol& defineSymbolforCopyReloc(MCLinker& pLinker,
218 const LDSymbol& pInputSym,
237 LDSymbol* m_pGOTSymbol;
H A DX86LDBackend.cpp198 LDSymbol& X86GNULDBackend::defineSymbolforCopyReloc(MCLinker& pLinker,
243 LDSymbol* cpy_sym = pLinker.defineSymbol<MCLinker::Force, MCLinker::Resolve>(
258 const LDSymbol& pInputSym,
269 const LDSymbol& pInputSym,
313 const LDSymbol& pInputSym,
354 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pLinker, *rsym);
458 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pLinker, *rsym);
476 const LDSymbol& pInputSym,
/frameworks/compile/mclinker/lib/MC/
H A DMCLinker.cpp22 #include <mcld/LD/LDSymbol.h>
62 LDSymbol* MCLinker::addSymbolFromObject(const llvm::StringRef& pName,
67 LDSymbol::ValueType pValue,
77 // if the symbol is a local symbol, create a LDSymbol for input, but do not
102 // create a LDSymbol for the input file.
103 LDSymbol* input_sym = m_LDSymbolFactory.allocate();
104 new (input_sym) LDSymbol();
106 // set the relation between input LDSymbol and its ResolveInfo
109 // set up input LDSymbol
113 LDSymbol* output_sy
[all...]
H A DSymbolCategory.cpp10 #include <mcld/LD/LDSymbol.h>
63 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol)
91 SymbolCategory& SymbolCategory::forceLocal(LDSymbol& pSymbol)
105 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, const ResolveInfo& pSourceInfo)
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.h104 const LDSymbol& pInputSym,
207 const LDSymbol& pInputSym,
213 const LDSymbol& pInputSym,
228 /// @return the output LDSymbol of the copy symbol
229 LDSymbol& defineSymbolforCopyReloc(MCLinker& pLinker,
237 const LDSymbol& pInputSym,
259 LDSymbol* m_pGOTSymbol;
H A DARMLDBackend.cpp260 LDSymbol& ARMGNULDBackend::defineSymbolforCopyReloc(MCLinker& pLinker,
305 LDSymbol* cpy_sym = pLinker.defineSymbol<MCLinker::Force, MCLinker::Resolve>(
350 const LDSymbol& pInputSym,
361 const LDSymbol& pInputSym,
474 const LDSymbol& pInputSym,
532 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pLinker, *rsym);
613 LDSymbol& cpy_sym = defineSymbolforCopyReloc(pLinker, *rsym);
716 const LDSymbol& pInputSym,

Completed in 260 milliseconds

12