Searched defs:pInput (Results 1 - 25 of 46) sorted by last modified time

12

/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h292 Input& pInput);
300 Input& pInput);
335 mcld::Input& pInput)
338 node->data = &pInput;
334 insert(mcld::TreeIteratorBase pRoot, mcld::Input& pInput) argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DBinaryReader.h27 virtual bool isMyFormat(Input& pInput, bool &pContinue) const argument
H A DDiagnosticPrinter.h28 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig) {} argument
H A DIdenticalCodeFolding.h40 FoldingCandidate(LDSection* pCode, LDSection* pReloc, Input* pInput) argument
41 : sect(pCode), reloc_sect(pReloc), obj(pInput)
H A DRelocator.h61 /// @param pInput - the input file of relocation
66 Input& pInput) = 0;
72 /// @ param pInput - the input file of relocation
75 Input& pInput);
77 /// initializeScan - do initialization before scan relocations in pInput
79 virtual bool initializeScan(Input& pInput) argument
82 /// finalizeScan - do finalization after scan relocations in pInput
84 virtual bool finalizeScan(Input& pInput) argument
87 /// initializeApply - do initialization before apply relocations in pInput
89 virtual bool initializeApply(Input& pInput) argument
94 finalizeApply(Input& pInput) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h111 void append(Input* pInput) { m_InputList.push_back(pInput); } argument
198 bool matched(const Input& pInput,
/frameworks/compile/mclinker/include/mcld/Target/
H A DELFAttributeData.h61 virtual bool preMerge(const Input &pInput) { return true; } argument
64 virtual bool merge(const LinkerConfig& pConfig, const Input &pInput,
69 virtual bool postMerge(const LinkerConfig& pConfig, const Input &pInput) argument
H A DTargetLDBackend.h134 virtual bool readSection(Input& pInput, SectionData& pSD) argument
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp276 LDSection* IRBuilder::CreateELFHeader(Input& pInput, argument
288 pInput.context()->appendSection(*header);
339 Fragment* IRBuilder::CreateRegion(Input& pInput, size_t pOffset, size_t pLength) argument
341 if (!pInput.hasMemArea()) {
342 fatal(diag::fatal_cannot_read_input) << pInput.path();
349 llvm::StringRef region = pInput.memArea()->request(pOffset, pLength);
407 LDSymbol* IRBuilder::AddSymbol(Input& pInput, argument
431 if (pInput.noExport() && (pDesc != ResolveInfo::Undefined)) {
437 switch (pInput.type()) {
452 pInput
541 addSymbolFromDynObj(Input& pInput, const std::string& pName, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, ResolveInfo::Visibility pVisibility) argument
[all...]
H A DInputTree.cpp46 mcld::Input& pInput)
49 node->data = &pInput;
44 insert(TreeIteratorBase pRoot, const InputTree::Mover& pMover, mcld::Input& pInput) argument
/frameworks/compile/mclinker/lib/LD/
H A DBSDArchiveReader.cpp30 bool BSDArchiveReader::isMyFormat(Input& pInput, bool &pContinue) const argument
H A DELFBinaryReader.cpp36 bool ELFBinaryReader::isMyFormat(Input& pInput, bool &pContinue) const argument
42 bool ELFBinaryReader::readBinary(Input& pInput) argument
45 m_Builder.CreateELFHeader(pInput,
53 m_Builder.CreateELFHeader(pInput,
61 size_t data_size = pInput.memArea()->size();
62 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size);
66 m_Builder.CreateELFHeader(pInput,
73 m_Builder.CreateELFHeader(pInput,
80 m_Builder.AddSymbol(pInput,
91 std::string mangled_name = pInput
[all...]
H A DELFDynObjReader.cpp47 bool ELFDynObjReader::isMyFormat(Input &pInput, bool &pContinue) const argument
49 assert(pInput.hasMemArea());
54 if (pInput.memArea()->size() < hdr_size)
57 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(),
79 bool ELFDynObjReader::readHeader(Input& pInput) argument
81 assert(pInput.hasMemArea());
84 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(),
88 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hd
97 readSymbols(Input& pInput) argument
[all...]
H A DELFObjectReader.cpp62 bool ELFObjectReader::isMyFormat(Input &pInput, bool &pContinue) const argument
64 assert(pInput.hasMemArea());
69 if (pInput.memArea()->size() < hdr_size)
72 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(),
94 bool ELFObjectReader::readHeader(Input& pInput) argument
96 assert(pInput.hasMemArea());
99 if (pInput.memArea()->size() < hdr_size)
102 llvm::StringRef region = pInput.memArea()->request(pInput
110 readSections(Input& pInput) argument
280 readSymbols(Input& pInput) argument
312 readRelocations(Input& pInput) argument
[all...]
H A DELFReader.cpp57 ELFReader<32, true>::readRegularSection(Input& pInput, SectionData& pSD) const argument
59 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset();
62 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size);
68 bool ELFReader<32, true>::readSymbols(Input& pInput, argument
86 pInput.context()->addSymbol(LDSymbol::Null());
90 bool is_dyn_obj = (pInput.type()==Input::DynObj);
110 if (pInput.type() == Input::Object &&
113 if (NULL == pInput.context()->getSection(st_shndx))
121 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput);
127 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput);
213 readRela(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument
241 readRel(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument
315 readSectionHeaders(Input& pInput, const void* pELFHeader) const argument
451 readSignature(Input& pInput, LDSection& pSymTab, uint32_t pSymIdx) const argument
582 readRegularSection(Input& pInput, SectionData& pSD) const argument
593 readSymbols(Input& pInput, IRBuilder& pBuilder, llvm::StringRef pRegion, const char* pStrTab) const argument
733 readRela(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument
763 readRel(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument
836 readSectionHeaders(Input& pInput, const void* pELFHeader) const argument
972 readSignature(Input& pInput, LDSection& pSymTab, uint32_t pSymIdx) const argument
[all...]
H A DELFReaderIf.cpp45 ResolveInfo::Desc ELFReaderIF::getSymDesc(uint16_t pShndx, const Input& pInput) const
54 if (NULL == pInput.context()->getSection(pShndx) ||
55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind())
98 ELFReaderIF::getSymFragmentRef(Input& pInput, argument
103 if (Input::DynObj == pInput.type())
112 LDSection* sect_hdr = pInput.context()->getSection(pShndx);
116 << pInput.path().native();
137 const Input& pInput) const
139 if (Input::Object == pInput.type()) {
H A DEhFrame.cpp175 EhFrame& EhFrame::merge(const Input& pInput, EhFrame& pFrame) argument
185 const LDContext& ctx = *pInput.context();
H A DEhFrameReader.cpp94 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) argument
134 uint64_t file_off = pInput.fileOffset() + section.offset();
136 pInput.memArea()->request(file_off, section.size());
143 llvm::StringRef entry = pInput.memArea()->request(token.file_off, token.size);
147 debug(diag::debug_cannot_scan_eh) << pInput.name();
165 debug(diag::debug_cannot_parse_eh) << pInput.name();
H A DGNUArchiveReader.cpp45 bool GNUArchiveReader::isMyFormat(Input& pInput, bool &pContinue) const argument
47 assert(pInput.hasMemArea());
48 if (pInput.memArea()->size() < Archive::MAGIC_LEN)
52 pInput.memArea()->request(pInput.fileOffset(), Archive::MAGIC_LEN);
77 bool GNUArchiveReader::isThinArchive(Input& pInput) const
79 assert(pInput.hasMemArea());
81 pInput.memArea()->request(pInput.fileOffset(), Archive::MAGIC_LEN);
H A DRelocator.cpp56 Input& pInput)
72 << pInput.path()
80 for (LDContext::sym_iterator i = pInput.context()->symTabBegin(),
81 e = pInput.context()->symTabEnd(); i != e; ++i) {
97 << pInput.path()
54 issueUndefRef(Relocation& pReloc, LDSection& pSection, Input& pInput) argument
H A DTextDiagnosticPrinter.cpp156 void TextDiagnosticPrinter::beginInput(const Input& pInput, const LinkerConfig& pConfig) argument
158 m_pInput = &pInput;
/frameworks/compile/mclinker/lib/MC/
H A DInputBuilder.cpp108 bool InputBuilder::setContext(Input& pInput, bool pCheck) argument
114 if (0 != pInput.fileOffset() || !pCheck) {
115 // pInput is an object in an archive file. Produce a new context in this
120 // Using pInput.path() to avoid from creating context for identical file
122 context = m_pContextFactory->produce(pInput.path());
125 pInput.setContext(context);
129 bool InputBuilder::setMemory(Input& pInput, argument
133 MemoryArea *memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm);
134 pInput.setMemArea(memory);
138 bool InputBuilder::setMemory(Input& pInput, voi argument
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp308 bool SectionMap::matched(const SectionMap::Input& pInput, argument
312 if (pInput.spec().hasFile() && !matched(pInput.spec().file(), pInputFile))
315 if (pInput.spec().hasExcludeFiles()) {
317 fileEnd = pInput.spec().excludeFiles().end();
318 for (file = pInput.spec().excludeFiles().begin(); file != fileEnd; ++file) {
325 if (pInput.spec().hasSections()) {
326 StringList::const_iterator sect, sectEnd = pInput.spec().sections().end();
327 for (sect = pInput.spec().sections().begin(); sect != sectEnd; ++sect) {
/frameworks/compile/mclinker/lib/Script/
H A DScriptFile.cpp47 ScriptFile::ScriptFile(Kind pKind, Input& pInput, InputBuilder& pBuilder) argument
49 m_Input(pInput),
50 m_Name(pInput.path().native()),
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp354 const Input& pInput,
361 bool AArch64GNULDBackend::readSection(Input& pInput, SectionData& pSD) argument
353 mergeSection(Module& pModule, const Input& pInput, LDSection& pSection) argument

Completed in 6117 milliseconds

12