/frameworks/compile/mclinker/lib/CodeGen/ |
H A D | SectLinkerOption.cpp | 17 SectLinkerOption::SectLinkerOption(MCLDInfo &pLDInfo) argument 18 : m_pLDInfo(&pLDInfo) { }
|
H A D | SectLinker.cpp | 178 void SectLinker::initializeInputOutput(MCLDInfo &pLDInfo) argument 182 if (Output::Object == pLDInfo.output().type()) 187 MemoryArea* out_area = memAreaFactory()->produce(pLDInfo.output().path(), 193 fatal(diag::err_cannot_open_output_file) << pLDInfo.output().name() 194 << pLDInfo.output().path(); 197 pLDInfo.output().setMemArea(out_area); 198 pLDInfo.output().setContext(pLDInfo.contextFactory().produce()); 201 InputTree::dfs_iterator input, inEnd = pLDInfo.inputs().dfs_end(); 202 for (input = pLDInfo [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | MsgHandling.cpp | 25 mcld::InitializeDiagnosticEngine(const mcld::MCLDInfo& pLDInfo, argument 29 g_pEngine->reset(pLDInfo);
|
H A D | raw_ostream.cpp | 18 const MCLDInfo* pLDInfo) 19 : llvm::raw_fd_ostream(pFilename, pErrorInfo, pFlags), m_pLDInfo(pLDInfo) { 25 const MCLDInfo* pLDInfo) 26 : llvm::raw_fd_ostream(pFD, pShouldClose, pUnbuffered), m_pLDInfo(pLDInfo) { 33 void mcld::raw_fd_ostream::setLDInfo(const MCLDInfo& pLDInfo) argument 35 m_pLDInfo = &pLDInfo; 90 void mcld::InitializeOStreams(const MCLDInfo& pLDInfo) argument 92 outs().setLDInfo(pLDInfo); 93 errs().setLDInfo(pLDInfo); 15 raw_fd_ostream(const char *pFilename, std::string &pErrorInfo, unsigned int pFlags, const MCLDInfo* pLDInfo) argument 22 raw_fd_ostream(int pFD, bool pShouldClose, bool pUnbuffered, const MCLDInfo* pLDInfo) argument
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | DiagnosticPrinter.h | 31 virtual void beginInput(const Input& pInput, const MCLDInfo& pLDInfo) {} argument
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticEngine.cpp | 30 void DiagnosticEngine::reset(const MCLDInfo& pLDInfo) argument 32 m_pLDInfo = &pLDInfo;
|
H A D | Relocation.cpp | 51 const MCLDInfo& pLDInfo) 54 pRelocFactory.applyRelocation(*this, pLDInfo); 50 apply(RelocationFactory& pRelocFactory, const MCLDInfo& pLDInfo) argument
|
H A D | DiagnosticInfos.cpp | 88 DiagnosticInfos::DiagnosticInfos(const MCLDInfo& pLDInfo) argument 89 : m_LDInfo(pLDInfo) {
|
H A D | TextDiagnosticPrinter.cpp | 30 const MCLDInfo& pLDInfo) 31 : m_OStream(pOStream), m_LDInfo(pLDInfo), m_pInput(NULL) { 159 void TextDiagnosticPrinter::beginInput(const Input& pInput, const MCLDInfo& pLDInfo) argument 29 TextDiagnosticPrinter(llvm::raw_ostream& pOStream, const MCLDInfo& pLDInfo) argument
|
H A D | GNUArchiveReader.cpp | 32 GNUArchiveReader::GNUArchiveReader(MCLDInfo& pLDInfo, argument 35 : m_LDInfo(pLDInfo),
|
H A D | ELFWriter.cpp | 35 void ELFWriter::writeELF32Header(const MCLDInfo& pLDInfo, argument 73 header->e_entry = getEntryPoint(pLDInfo, pLayout, pBackend, pOutput); 86 void ELFWriter::writeELF64Header(const MCLDInfo& pLDInfo, argument 124 header->e_entry = getEntryPoint(pLDInfo, pLayout, pBackend, pOutput); 137 uint64_t ELFWriter::getEntryPoint(const MCLDInfo& pLDInfo, argument 144 if (pLDInfo.options().hasEntry()) 145 entry_name = pLDInfo.options().entry(); 151 bool issue_warning = (pLDInfo.options().hasEntry() 155 const LDSymbol* entry_symbol = pLDInfo.getNamePool().findSymbol(entry_name);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | MCLDDriver.cpp | 29 MCLDDriver::MCLDDriver(MCLDInfo& pLDInfo, argument 32 : m_LDInfo(pLDInfo),
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 88 void ELFDynamic::reserveEntries(const MCLDInfo& pLDInfo, argument 91 if (pLDInfo.output().type() == Output::DynObj) { 94 if (pLDInfo.options().Bsymbolic()) 149 if (pLDInfo.options().hasOrigin() || 150 pLDInfo.options().Bsymbolic() || 151 pLDInfo.options().hasNow()) { 156 if (pLDInfo.options().hasNow() || 157 pLDInfo.options().hasLoadFltr() || 158 pLDInfo.options().hasOrigin() || 159 pLDInfo [all...] |
H A D | GNULDBackend.cpp | 698 const MCLDInfo& pLDInfo) 734 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); 735 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) { 784 dynamic().reserveEntries(pLDInfo, *file_format); 796 const MCLDInfo& pLDInfo) 903 const MCLDInfo& pLDInfo) 1008 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); 1009 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) { 1035 dynamic().applyEntries(pLDInfo, *file_format); 1081 void GNULDBackend::sizeInterp(const Output& pOutput, const MCLDInfo& pLDInfo) argument 696 sizeNamePools(const Output& pOutput, const SymbolCategory& pSymbols, const MCLDInfo& pLDInfo) argument 793 emitRegNamePools(Output& pOutput, SymbolCategory& pSymbols, const Layout& pLayout, const MCLDInfo& pLDInfo) argument 900 emitDynNamePools(Output& pOutput, SymbolCategory& pSymbols, const Layout& pLayout, const MCLDInfo& pLDInfo) argument 1096 emitInterp(Output& pOutput, const MCLDInfo& pLDInfo) argument 1588 preLayout(const Output& pOutput, const MCLDInfo& pLDInfo, MCLinker& pLinker) argument 1728 isSymbolPreemptible(const ResolveInfo& pSym, const MCLDInfo& pLDInfo, const Output& pOutput) const argument 1746 symbolNeedsPLT(const ResolveInfo& pSym, const MCLDInfo& pLDInfo, const Output& pOutput) const argument 1770 symbolNeedsDynRel(const ResolveInfo& pSym, bool pSymHasPLT, const MCLDInfo& pLDInfo, const Output& pOutput, bool isAbsReloc) const argument 1796 symbolNeedsCopyReloc(const Layout& pLayout, const Relocation& pReloc, const ResolveInfo& pSym, const MCLDInfo& pLDInfo, const Output& pOutput) const argument [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsRelocationFactory.cpp | 28 const MCLDInfo& pLDInfo, 57 const MCLDInfo& pLDInfo) 69 return ApplyFunctions[type].func(pRelocation, pLDInfo, *this); 203 const MCLDInfo& pLDInfo, 212 const MCLDInfo& pLDInfo, 246 const MCLDInfo& pLDInfo, 278 const MCLDInfo& pLDInfo, 309 const MCLDInfo& pLDInfo, 344 const MCLDInfo& pLDInfo, 358 const MCLDInfo& pLDInfo, 56 applyRelocation(Relocation& pRelocation, const MCLDInfo& pLDInfo) argument 202 none(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument 211 abs32(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument 245 hi16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument 277 lo16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument 308 got16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument 343 call16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument 357 gprel32(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument [all...] |
H A D | MipsLDBackend.cpp | 122 const MCLDInfo& pLDInfo, 155 scanLocalReloc(pReloc, pInputSym, pLinker, pLDInfo, pOutput); 157 scanGlobalReloc(pReloc, pInputSym, pLinker, pLDInfo, pOutput); 306 const MCLDInfo& pLDInfo) 392 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); 393 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) { 419 dynamic().applyEntries(pLDInfo, *file_format); 631 const MCLDInfo& pLDInfo, 740 const MCLDInfo& pLDInfo, 762 if (symbolNeedsDynRel(*rsym, false, pLDInfo, pOutpu 119 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument 303 emitDynNamePools(Output& pOutput, SymbolCategory& pSymbols, const Layout& pLayout, const MCLDInfo& pLDInfo) argument 628 scanLocalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument 737 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86RelocationFactory.cpp | 30 const MCLDInfo& pLDInfo, 61 const MCLDInfo& pLDInfo) 72 return ApplyFunctions[type].func(pRelocation, pLDInfo, *this); 87 const MCLDInfo& pLDInfo, 94 pFactory.getTarget().isSymbolPreemptible(pSym, pLDInfo, pLDInfo.output())) 101 const MCLDInfo& pLDInfo, 121 if (helper_use_relative_reloc(*rsym, pLDInfo, pParent)) { 151 const MCLDInfo& pLDInfo, 154 GOTEntry& got_entry = helper_get_GOT_and_init(pReloc, pLDInfo, pParen 60 applyRelocation(Relocation& pRelocation, const MCLDInfo& pLDInfo) argument 86 helper_use_relative_reloc(const ResolveInfo& pSym, const MCLDInfo& pLDInfo, const X86RelocationFactory& pFactory) argument 100 helper_get_GOT_and_init(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 150 helper_GOT(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 237 none(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 245 abs32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 299 rel32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 343 gotoff32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 356 gotpc32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 368 got32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument 385 plt32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument [all...] |
H A D | X86LDBackend.cpp | 271 const MCLDInfo& pLDInfo, 285 if (isOutputPIC(pOutput, pLDInfo)) { 315 const MCLDInfo& pLDInfo, 325 if (symbolNeedsPLT(*rsym, pLDInfo, pOutput)) { 346 pLDInfo, pOutput, true)) { 352 if (symbolNeedsCopyReloc(pLinker.getLayout(), pReloc, *rsym, pLDInfo, 382 !isSymbolPreemptible(*rsym, pLDInfo, pOutput)) { 428 if (symbolNeedsPLT(*rsym, pLDInfo, pOutput) && 450 pLDInfo, pOutput, false)) { 456 if (symbolNeedsCopyReloc(pLinker.getLayout(), pReloc, *rsym, pLDInfo, 268 scanLocalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument 312 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument 475 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 322 const MCLDInfo& pLDInfo, 326 if (!isOutputPIC(pOutput, pLDInfo)) 363 const MCLDInfo& pLDInfo, 384 if (isOutputPIC(pOutput, pLDInfo)) { 405 if (isOutputPIC(pOutput, pLDInfo)) { 436 if (isOutputPIC(pOutput, pLDInfo)) { 476 const MCLDInfo& pLDInfo, 503 if (symbolNeedsPLT(*rsym, pLDInfo, pOutput)) { 524 pLDInfo, pOutput, true)) { 530 if (symbolNeedsCopyReloc(pLinker.getLayout(), pReloc, *rsym, pLDInfo, 321 checkValidReloc(Relocation& pReloc, const MCLDInfo& pLDInfo, const Output& pOutput) const argument 360 scanLocalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument 473 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument 715 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument [all...] |
H A D | ARMRelocationFactory.cpp | 31 const MCLDInfo& pLDInfo, 62 const MCLDInfo& pLDInfo) 71 return ApplyFunctions[type].func(pRelocation, pLDInfo, *this); 120 const MCLDInfo& pLDInfo, 127 pLDInfo, 128 pLDInfo.output())) 135 const MCLDInfo& pLDInfo, 157 helper_use_relative_reloc(*rsym, pLDInfo, pParent)) { 187 const MCLDInfo& pLDInfo, 190 GOTEntry& got_entry = helper_get_GOT_and_init(pReloc, pLDInfo, pParen 61 applyRelocation(Relocation& pRelocation, const MCLDInfo& pLDInfo) argument 119 helper_use_relative_reloc(const ResolveInfo& pSym, const MCLDInfo& pLDInfo, const ARMRelocationFactory& pFactory) argument 134 helper_get_GOT_and_init(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 186 helper_GOT(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 379 none(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 387 abs32(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 442 rel32(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 455 base_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 466 gotoff32(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 480 got_brel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 497 got_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 516 call(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 571 thm_call(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 644 movw_abs_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 676 movw_prel_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 698 movt_abs(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 728 movt_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 746 thm_movw_abs_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 776 thm_movw_prel_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 797 thm_movw_brel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 817 thm_movt_abs(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 854 thm_movt_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 872 prel31(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 899 tls(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument 906 unsupport(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument [all...] |
/frameworks/compile/mclinker/tools/llvm-mcld/ |
H A D | llvm-mcld.cpp | 661 static bool ProcessLinkerOptionsFromCommand(mcld::MCLDInfo& pLDInfo) { argument 664 pLDInfo.output().setSOName(ArgSOName); 669 pLDInfo.options().setSysroot(ArgSysRoot); 677 sd->setSysroot(pLDInfo.options().sysroot()); 679 pLDInfo.options().directories().add(*sd); 689 pLDInfo.options().setPIE(ArgPIE); 690 pLDInfo.options().setTrace(ArgTrace); 691 pLDInfo.options().setVerbose(ArgVerbose); 692 pLDInfo.options().setMaxErrorNum(ArgMaxErrorNum); 693 pLDInfo [all...] |