Home
last modified time | relevance | path

Searched refs:pName (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/compile/mclinker/lib/Support/
DDemangle.cpp19 std::string demangleName(const std::string& pName) { in demangleName() argument
23 if (pName.substr(0, 2) != "_Z") in demangleName()
24 return pName; in demangleName()
30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); in demangleName()
32 return pName; in demangleName()
39 return pName; in demangleName()
43 bool isCtorOrDtor(const char* pName, size_t pLength) { in isCtorOrDtor() argument
55 demangle(pName, pName + pLength, db, internal_status); in isCtorOrDtor()
62 demangle(pName, pName + pLength, db, internal_status); in isCtorOrDtor()
/frameworks/compile/mclinker/lib/MC/
DMCLDDirectory.cpp20 MCLDDirectory::MCLDDirectory(const char* pName) : Directory(), m_Name(pName) { in MCLDDirectory() argument
21 Directory::m_Path.assign(pName); in MCLDDirectory()
33 MCLDDirectory::MCLDDirectory(const std::string& pName) in MCLDDirectory() argument
34 : Directory(), m_Name(pName) { in MCLDDirectory()
35 Directory::m_Path.assign(pName); in MCLDDirectory()
47 MCLDDirectory::MCLDDirectory(llvm::StringRef pName) in MCLDDirectory() argument
48 : Directory(), m_Name(pName.data(), pName.size()) { in MCLDDirectory()
49 Directory::m_Path.assign(pName.str()); in MCLDDirectory()
61 MCLDDirectory& MCLDDirectory::assign(llvm::StringRef pName) { in assign() argument
62 m_Name.assign(pName.data(), pName.size()); in assign()
[all …]
DInput.cpp19 Input::Input(llvm::StringRef pName) in Input() argument
21 m_Name(pName.data()), in Input()
31 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) in Input() argument
33 m_Name(pName.data()), in Input()
43 Input::Input(llvm::StringRef pName, in Input() argument
48 m_Name(pName.data()), in Input()
58 Input::Input(llvm::StringRef pName, in Input() argument
64 m_Name(pName.data()), in Input()
DInputFactory.cpp33 Input* InputFactory::produce(llvm::StringRef pName, in produce() argument
38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); in produce()
42 Input* InputFactory::produce(llvm::StringRef pName, in produce() argument
47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset); in produce()
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp40 LDSection* LDContext::getSection(const std::string& pName) { in getSection() argument
43 if (*sect_iter != NULL && (*sect_iter)->name() == pName) in getSection()
49 const LDSection* LDContext::getSection(const std::string& pName) const { in getSection()
52 if (*sect_iter != NULL && (*sect_iter)->name() == pName) in getSection()
58 size_t LDContext::getSectionIdx(const std::string& pName) const { in getSectionIdx()
62 if (m_SectionTable[result]->name() == pName) in getSectionIdx()
79 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) { in getSymbol() argument
83 if (m_SymTab[sym]->name() == pName) in getSymbol()
88 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const { in getSymbol()
92 if (m_SymTab[sym]->name() == pName) in getSymbol()
DNamePool.cpp34 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, in createSymbol() argument
42 (*result) = ResolveInfo::Create(pName); in createSymbol()
56 void NamePool::insertSymbol(const llvm::StringRef& pName, in insertSymbol() argument
71 ResolveInfo* old_symbol = m_Table.insert(pName, exist); in insertSymbol()
74 new_symbol = m_Table.getEntryFactory().produce(pName); in insertSymbol()
130 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) { in findInfo() argument
131 Table::iterator iter = m_Table.find(pName); in findInfo()
136 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const { in findInfo()
137 Table::const_iterator iter = m_Table.find(pName); in findInfo()
142 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) { in findSymbol() argument
[all …]
DArchive.cpp110 bool Archive::addArchiveMember(const llvm::StringRef& pName, in addArchiveMember() argument
114 ArchiveMemberEntryType* entry = m_ArchiveMemberMap.insert(pName, exist); in addArchiveMember()
128 bool Archive::hasArchiveMember(const llvm::StringRef& pName) const { in hasArchiveMember()
129 return (m_ArchiveMemberMap.find(pName) != m_ArchiveMemberMap.end()); in hasArchiveMember()
134 const llvm::StringRef& pName) { in getArchiveMember() argument
135 ArchiveMemberMapType::iterator it = m_ArchiveMemberMap.find(pName); in getArchiveMember()
169 void Archive::addSymbol(const char* pName, in addSymbol() argument
173 new (entry) Symbol(pName, pFileOffset, pStatus); in addSymbol()
226 const std::string& pName, in getMemberFile() argument
231 member = m_Builder.createInput(pName, pPath, Input::Unknown, pFileOffset); in getMemberFile()
[all …]
DLDSection.cpp39 LDSection::LDSection(const std::string& pName, in LDSection() argument
45 : m_Name(pName), in LDSection()
66 LDSection* LDSection::Create(const std::string& pName, in Create() argument
73 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); in Create()
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h87 Input* CreateInput(const std::string& pName,
105 Input* ReadInput(const std::string& pName, const sys::fs::Path& pPath);
132 Input* ReadInput(const std::string& pName, void* pRawMemory, size_t pSize);
223 const std::string& pName,
387 const std::string& pName,
433 const llvm::StringRef& pName,
462 LDSymbol* addSymbolFromObject(const std::string& pName,
472 const std::string& pName,
489 const llvm::StringRef& pName,
500 const llvm::StringRef& pName,
[all …]
DModule.h62 Module(const std::string& pName, LinkerScript& pScript);
68 void setName(const std::string& pName) { m_Name = pName; } in setName() argument
120 LDSection* getSection(const std::string& pName);
121 const LDSection* getSection(const std::string& pName) const;
/frameworks/compile/mclinker/lib/Core/
DModule.cpp30 Module::Module(const std::string& pName, LinkerScript& pScript) in Module() argument
31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) { in Module()
38 LDSection* Module::getSection(const std::string& pName) { in getSection() argument
41 if ((*sect)->name() == pName) in getSection()
47 const LDSection* Module::getSection(const std::string& pName) const { in getSection()
50 if ((*sect)->name() == pName) in getSection()
DIRBuilder.cpp32 const char* pName, in GetELFSectionKind() argument
41 llvm::StringRef name(pName); in GetELFSectionKind()
103 fatal(diag::err_unsupported_section) << pName << pType; in GetELFSectionKind()
123 Input* IRBuilder::CreateInput(const std::string& pName, in CreateInput() argument
127 return ReadInput(pName, pPath); in CreateInput()
129 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType); in CreateInput()
139 Input* IRBuilder::ReadInput(const std::string& pName, in ReadInput() argument
142 pName, pPath, Input::Unknown); in ReadInput()
212 Input* IRBuilder::ReadInput(const std::string& pName, in ReadInput() argument
215 m_InputBuilder.createNode<InputTree::Positional>(pName, sys::fs::Path("NAN")); in ReadInput()
[all …]
DGeneralOptions.cpp71 void GeneralOptions::setSOName(const std::string& pName) { in setSOName() argument
72 size_t pos = pName.find_last_of(sys::fs::separator); in setSOName()
74 m_SOName = pName; in setSOName()
76 m_SOName = pName.substr(pos + 1); in setSOName()
/frameworks/compile/mclinker/include/mcld/MC/
DMCLDDirectory.h27 explicit MCLDDirectory(const char* pName);
28 explicit MCLDDirectory(const std::string& pName);
29 explicit MCLDDirectory(llvm::StringRef pName);
33 MCLDDirectory& assign(llvm::StringRef pName);
DInput.h46 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; } in setName() argument
DInputBuilder.h55 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);
/frameworks/compile/mclinker/include/mcld/LD/
DNamePool.h52 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);
DArchive.h97 Symbol(const char* pName, uint32_t pOffset, enum Status pStatus) in Symbol()
98 : name(pName), fileOffset(pOffset), status(pStatus) {} in Symbol()
157 bool addArchiveMember(const llvm::StringRef& pName,
162 bool hasArchiveMember(const llvm::StringRef& pName) const;
165 ArchiveMember* getArchiveMember(const llvm::StringRef& pName);
185 void addSymbol(const char* pName,
218 const std::string& pName,
DLDContext.h55 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);
/frameworks/compile/mclinker/lib/Script/
DNameSpec.cpp26 NameSpec::NameSpec(const std::string& pName, bool pAsNeeded) in NameSpec() argument
27 : InputToken(InputToken::NameSpec, pName, pAsNeeded) { in NameSpec()
33 NameSpec* NameSpec::create(const std::string& pName, bool pAsNeeded) { in create() argument
35 new (result) NameSpec(pName, pAsNeeded); in create()
DFileToken.cpp26 FileToken::FileToken(const std::string& pName, bool pAsNeeded) in FileToken() argument
27 : InputToken(InputToken::File, pName, pAsNeeded) { in FileToken()
33 FileToken* FileToken::create(const std::string& pName, bool pAsNeeded) { in create() argument
35 new (result) FileToken(pName, pAsNeeded); in create()
DOperand.cpp39 SymOperand::SymOperand(const std::string& pName) in SymOperand() argument
40 : Operand(Operand::SYMBOL), m_Name(pName), m_Value(0) { in SymOperand()
52 SymOperand* SymOperand::create(const std::string& pName) { in create() argument
54 new (result) SymOperand(pName); in create()
109 SectOperand::SectOperand(const std::string& pName) in SectOperand() argument
110 : Operand(Operand::SECTION), m_Name(pName) { in SectOperand()
117 SectOperand* SectOperand::create(const std::string& pName) { in create() argument
119 new (result) SectOperand(pName); in create()
DInputToken.cpp19 InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded) in InputToken() argument
20 : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded) { in InputToken()
/frameworks/compile/mclinker/include/mcld/Support/
DTargetRegistry.h54 const char* pName,
122 RegisterTarget(mcld::Target& pTarget, const char* pName) { in RegisterTarget()
126 if (strcmp((*target)->name(), pName) == 0) in RegisterTarget()
130 TargetRegistry::RegisterTarget(pTarget, pName, &getTripleMatchQuality); in RegisterTarget()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp40 SectionMap::Input::Input(const std::string& pName, in Input() argument
49 WildcardPattern::create(pName, WildcardPattern::SORT_NONE)); in Input()
52 m_pSection = LDSection::Create(pName, LDFileFormat::TEXT, 0, 0); in Input()
74 SectionMap::Output::Output(const std::string& pName) in Output() argument
75 : m_Name(pName), m_Order(UINT_MAX) { in Output()
88 m_pSection = LDSection::Create(pName, LDFileFormat::TEXT, 0, 0); in Output()
92 m_bIsDiscard = pName.compare("/DISCARD/") == 0; in Output()
325 const std::string& pName) const { in matched()
327 llvm::StringRef name(pName); in matched()
330 return fnmatch0(pPattern.name().c_str(), pName.c_str()); in matched()

123