/frameworks/compile/mclinker/lib/Support/ |
H A D | Demangle.cpp | 19 std::string demangleName(const std::string& pName) { argument 23 if (pName.substr(0, 2) != "_Z") 24 return pName; 30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); 32 return pName; 39 return pName; 43 bool isCtorOrDtor(const char* pName, size_t pLength) { argument 55 demangle(pName, pName + pLength, db, internal_status); 62 demangle(pName, pNam [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | MCLDDirectory.h | 27 explicit MCLDDirectory(const char* pName); 28 explicit MCLDDirectory(const std::string& pName); 29 explicit MCLDDirectory(llvm::StringRef pName); 33 MCLDDirectory& assign(llvm::StringRef pName);
|
H A D | Input.h | 46 explicit Input(llvm::StringRef pName); 48 Input(llvm::StringRef pName, const AttributeProxy& pAttr); 50 Input(llvm::StringRef pName, 55 Input(llvm::StringRef pName, 65 void setName(const std::string& pName) { m_Name = pName; } argument
|
H A D | InputBuilder.h | 55 InputTree& createNode(const std::string& pName, 60 Input* createInput(const std::string& pName, 104 const std::string& pName, 109 Input* input = createInput(pName, pPath, pType); 119 const std::string& pName, 124 Input* input = createInput(pName, pPath, pType); 103 createNode( const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument 118 createNode( const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument
|
H A D | InputFactory.h | 39 Input* produce(llvm::StringRef pName, 44 Input* produce(llvm::StringRef pName,
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | Input.cpp | 19 Input::Input(llvm::StringRef pName) argument 21 m_Name(pName.data()), 31 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) argument 33 m_Name(pName.data()), 43 Input::Input(llvm::StringRef pName, argument 48 m_Name(pName.data()), 58 Input::Input(llvm::StringRef pName, argument 64 m_Name(pName.data()),
|
H A D | MCLDDirectory.cpp | 20 MCLDDirectory::MCLDDirectory(const char* pName) : Directory(), m_Name(pName) { argument 21 Directory::m_Path.assign(pName); 33 MCLDDirectory::MCLDDirectory(const std::string& pName) argument 34 : Directory(), m_Name(pName) { 35 Directory::m_Path.assign(pName); 47 MCLDDirectory::MCLDDirectory(llvm::StringRef pName) argument 48 : Directory(), m_Name(pName.data(), pName.size()) { 49 Directory::m_Path.assign(pName 61 assign(llvm::StringRef pName) argument [all...] |
H A D | InputFactory.cpp | 33 Input* InputFactory::produce(llvm::StringRef pName, argument 38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); 42 Input* InputFactory::produce(llvm::StringRef pName, argument 47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset);
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | InputToken.cpp | 19 InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded) argument 20 : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded) {
|
H A D | FileToken.cpp | 26 FileToken::FileToken(const std::string& pName, bool pAsNeeded) argument 27 : InputToken(InputToken::File, pName, pAsNeeded) { 33 FileToken* FileToken::create(const std::string& pName, bool pAsNeeded) { argument 35 new (result) FileToken(pName, pAsNeeded);
|
H A D | NameSpec.cpp | 26 NameSpec::NameSpec(const std::string& pName, bool pAsNeeded) argument 27 : InputToken(InputToken::NameSpec, pName, pAsNeeded) { 33 NameSpec* NameSpec::create(const std::string& pName, bool pAsNeeded) { argument 35 new (result) NameSpec(pName, pAsNeeded);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Demangle.h | 18 bool isCtorOrDtor(const char* pName, size_t pLength);
|
H A D | TargetRegistry.h | 54 const char* pName, 122 RegisterTarget(mcld::Target& pTarget, const char* pName) { argument 126 if (strcmp((*target)->name(), pName) == 0) 130 TargetRegistry::RegisterTarget(pTarget, pName, &getTripleMatchQuality);
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | FileToken.h | 27 FileToken(const std::string& pName, bool pAsNeeded); 37 static FileToken* create(const std::string& pName, bool pAsNeeded);
|
H A D | NameSpec.h | 27 NameSpec(const std::string& pName, bool pAsNeeded); 37 static NameSpec* create(const std::string& pName, bool pAsNeeded);
|
H A D | InputToken.h | 26 InputToken(Type pType, const std::string& pName, bool pAsNeeded);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | LDContext.cpp | 40 LDSection* LDContext::getSection(const std::string& pName) { argument 43 if (*sect_iter != NULL && (*sect_iter)->name() == pName) 49 const LDSection* LDContext::getSection(const std::string& pName) const { 52 if (*sect_iter != NULL && (*sect_iter)->name() == pName) 58 size_t LDContext::getSectionIdx(const std::string& pName) const { 62 if (m_SectionTable[result]->name() == pName) 79 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) { argument 83 if (m_SymTab[sym]->name() == pName) 88 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const { 92 if (m_SymTab[sym]->name() == pName) [all...] |
H A D | NamePool.cpp | 34 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, argument 42 (*result) = ResolveInfo::Create(pName); 56 void NamePool::insertSymbol(const llvm::StringRef& pName, argument 71 ResolveInfo* old_symbol = m_Table.insert(pName, exist); 74 new_symbol = m_Table.getEntryFactory().produce(pName); 130 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) { argument 131 Table::iterator iter = m_Table.find(pName); 136 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const { 137 Table::const_iterator iter = m_Table.find(pName); 142 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) { argument [all...] |
H A D | LDSection.cpp | 39 LDSection::LDSection(const std::string& pName, argument 45 : m_Name(pName), 66 LDSection* LDSection::Create(const std::string& pName, argument 73 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr);
|
H A D | Archive.cpp | 105 /// @param pName - the name of the new archive member 110 bool Archive::addArchiveMember(const llvm::StringRef& pName, argument 114 ArchiveMemberEntryType* entry = m_ArchiveMemberMap.insert(pName, exist); 128 bool Archive::hasArchiveMember(const llvm::StringRef& pName) const { 129 return (m_ArchiveMemberMap.find(pName) != m_ArchiveMemberMap.end()); 134 const llvm::StringRef& pName) { 135 ArchiveMemberMapType::iterator it = m_ArchiveMemberMap.find(pName); 167 /// @param pName - symbol name 169 void Archive::addSymbol(const char* pName, argument 173 new (entry) Symbol(pName, pFileOffse 133 getArchiveMember( const llvm::StringRef& pName) argument [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | Module.cpp | 30 Module::Module(const std::string& pName, LinkerScript& pScript) argument 31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) { 38 LDSection* Module::getSection(const std::string& pName) { argument 41 if ((*sect)->name() == pName) 47 const LDSection* Module::getSection(const std::string& pName) const { 50 if ((*sect)->name() == pName)
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | LDContext.h | 55 const LDSection* getSection(const std::string& pName) const; 56 LDSection* getSection(const std::string& pName); 58 size_t getSectionIdx(const std::string& pName) const; 66 const LDSymbol* getSymbol(const llvm::StringRef& pName) const; 67 LDSymbol* getSymbol(const llvm::StringRef& pName);
|
H A D | NamePool.h | 52 const llvm::StringRef& pName, 66 void insertSymbol(const llvm::StringRef& pName, 78 const LDSymbol* findSymbol(const llvm::StringRef& pName) const; 79 LDSymbol* findSymbol(const llvm::StringRef& pName); 82 const ResolveInfo* findInfo(const llvm::StringRef& pName) const; 83 ResolveInfo* findInfo(const llvm::StringRef& pName);
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64CA53Erratum843419Stub2.cpp | 40 const char* pName, 43 : AArch64CA53ErratumStub(pData, pSize, pName, pBegin, pEnd) { 37 AArch64CA53Erratum843419Stub2( const uint32_t* pData, size_t pSize, const char* pName, const_fixup_iterator pBegin, const_fixup_iterator pEnd) argument
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | IRBuilder.h | 81 /// @param pName [in] The name of the input file. 87 Input* CreateInput(const std::string& pName, 95 /// @ref IRBuilder::CreateInput(pName, pPath, Input::Unknown); 102 /// @param pName [in] The name of the input file. 105 Input* ReadInput(const std::string& pName, const sys::fs::Path& pPath); 128 /// @param [in] pName The name of the input file 132 Input* ReadInput(const std::string& pName, void* pRawMemory, size_t pSize); 214 /// @param pName [in] The name of the section. 223 const std::string& pName, 369 /// @param [in] pName Th [all...] |