/frameworks/compile/mclinker/lib/LD/ |
LDSymbol.cpp | 1 //===- LDSymbol.cpp -------------------------------------------------------===// 9 #include <mcld/LD/LDSymbol.h> 22 typedef GCFactory<LDSymbol, MCLD_SYMBOLS_PER_INPUT> LDSymbolFactory; 24 static llvm::ManagedStatic<LDSymbol> g_NullSymbol; 29 // LDSymbol 31 LDSymbol::LDSymbol() 35 LDSymbol::~LDSymbol() 39 LDSymbol::LDSymbol(const LDSymbol& pCopy [all...] |
SectionSymbolSet.cpp | 15 #include <mcld/LD/LDSymbol.h> 51 LDSymbol* sym = LDSymbol::Create(*sym_info); 70 LDSymbol* sym = get(pOutSect); 94 LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) 100 const LDSymbol* SectionSymbolSet::get(const LDSection& pOutSect) const
|
LDContext.cpp | 11 #include <mcld/LD/LDSymbol.h> 72 LDSymbol* LDContext::getSymbol(unsigned int pIdx) 79 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const 87 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) 97 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const
|
/frameworks/compile/mclinker/unittests/ |
LDSymbolTest.h | 17 class LDSymbol;
|
SymbolCategoryTest.cpp | 11 #include <mcld/LD/LDSymbol.h> 60 LDSymbol* aa = LDSymbol::Create(*a); 61 LDSymbol* bb = LDSymbol::Create(*b); 62 LDSymbol* cc = LDSymbol::Create(*c); 63 LDSymbol* dd = LDSymbol::Create(*d); 64 LDSymbol* ee = LDSymbol::Create(*e) [all...] |
NamePoolTest.cpp | 14 #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::Weak [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
LDSymbol.h | 1 //===- LDSymbol.h ---------------------------------------------------------===// 28 /** \class LDSymbol 29 * \brief LDSymbol provides a consistent abstraction for different formats 32 class LDSymbol 40 ~LDSymbol(); 43 static LDSymbol* Create(ResolveInfo& pResolveInfo); 45 static void Destroy(LDSymbol*& pSymbol); 50 /// NullSymbol() - This returns a reference to a LDSymbol that represents Null 52 static LDSymbol* Null(); 131 friend class Chunk<LDSymbol, MCLD_SYMBOLS_PER_INPUT> [all...] |
SectionSymbolSet.h | 24 class LDSymbol; 48 LDSymbol* get(const LDSection& pOutSect); 49 const LDSymbol* get(const LDSection& pOutSect) const; 69 typedef HashEntry<const LDSection*, LDSymbol*, SectCompare> SectHashEntryType;
|
LDContext.h | 27 class LDSymbol; 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)
|
ResolveInfo.h | 20 class LDSymbol; 31 * - Value - the pointer to another LDSymbol 137 void setSymPtr(const LDSymbol* pSymPtr) 138 { m_Ptr.sym_ptr = const_cast<LDSymbol*>(pSymPtr); } 184 LDSymbol* outSymbol() 187 const LDSymbol* outSymbol() const 245 LDSymbol* sym_ptr;
|
BranchIsland.h | 21 #include <mcld/LD/LDSymbol.h> 111 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) 120 const LDSymbol* symbol() const { return m_pSymbol; } 148 const LDSymbol* m_pSymbol;
|
NamePool.h | 64 /// @note pResult.override is true if the output LDSymbol also need to be 76 /// findSymbol - find the resolved output LDSymbol 77 const LDSymbol* findSymbol(const llvm::StringRef& pName) const; 78 LDSymbol* findSymbol(const llvm::StringRef& pName);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
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...] |
OutputRelocSection.h | 20 class LDSymbol; 41 bool addSymbolToDynSym(LDSymbol& pSymbol);
|
TargetLDBackend.h | 32 class LDSymbol; 73 /// @param pInputSym - the input LDSymbol of relocation target symbol 84 /// @param pInputSym - the input LDSymbol of relocation target symbol 130 virtual bool finalizeTLSSymbol(LDSymbol& pSymbol) = 0;
|
/frameworks/compile/mclinker/include/mcld/MC/ |
SymbolCategory.h | 20 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); 48 SymbolCategory& changeLocalToDynamic(const LDSymbol& pSymbol); 51 LDSymbol& at(size_t pPosition) 54 const LDSymbol& at(size_t pPosition) const 57 LDSymbol& operator[](size_t pPosition [all...] |
/frameworks/compile/mclinker/include/mcld/ |
IRBuilder.h | 22 #include <mcld/LD/LDSymbol.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 [all...] |
Module.h | 37 class LDSymbol; 125 LDSymbol* getSectionSymbol(const LDSection* pSection); 126 const LDSymbol* getSectionSymbol(const LDSection* pSection) const;
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
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/ |
ARMLDBackend.h | 190 /// @return the output LDSymbol of the copy symbol 191 LDSymbol& defineSymbolforCopyReloc(IRBuilder& pLinker, 235 LDSymbol* m_pGOTSymbol; 236 LDSymbol* m_pEXIDXStart; 237 LDSymbol* m_pEXIDXEnd;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
HexagonLDBackend.h | 143 LDSymbol* m_pGOTSymbol; 144 LDSymbol* m_pBSSEnd;
|
/frameworks/compile/mclinker/lib/Core/ |
IRBuilder.cpp | 433 LDSymbol* IRBuilder::AddSymbol(Input& pInput, 439 LDSymbol::ValueType pValue, 469 LDSymbol* input_sym = addSymbolFromObject(name, pType, pDesc, pBind, pSize, pValue, frag, pVis); 484 LDSymbol* IRBuilder::addSymbolFromObject(const std::string& pName, 489 LDSymbol::ValueType pValue, 499 // if the symbol is a local symbol, create a LDSymbol for input, but do not 524 /// Step 2. create an input LDSymbol. 525 // create a LDSymbol for the input file. 526 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info) [all...] |
Module.cpp | 12 #include <mcld/LD/LDSymbol.h>
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
FragmentLinker.h | 24 #include <mcld/LD/LDSymbol.h>
|
/frameworks/compile/mclinker/lib/MC/ |
SymbolCategory.cpp | 10 #include <mcld/LD/LDSymbol.h> 68 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol, Category::Type pTarget) 92 SymbolCategory& SymbolCategory::add(LDSymbol& pSymbol) 98 SymbolCategory& SymbolCategory::forceLocal(LDSymbol& pSymbol) 103 SymbolCategory& SymbolCategory::arrange(LDSymbol& pSymbol, 208 SymbolCategory& SymbolCategory::changeLocalToDynamic(const LDSymbol& pSymbol)
|