Searched defs:pConfig (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/compile/mclinker/lib/Target/
H A DTargetLDBackend.cpp14 TargetLDBackend::TargetLDBackend(const LinkerConfig& pConfig) argument
15 : m_Config(pConfig) {
H A DELFMCLinker.cpp16 ELFMCLinker::ELFMCLinker(LinkerConfig& pConfig, argument
19 : MCLinker(pConfig, pModule, pFileHandle) {
H A DELFEmulation.cpp71 bool mcld::MCLDEmulateELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
72 // FIXME: LinkerConfig& pConfig should be constant
75 if (pConfig.options().getScriptList().empty() &&
76 pConfig.codeGenType() != LinkerConfig::Object) {
90 if (!pConfig.options().nostdlib()) {
93 switch (pConfig.targets().triple().getOS()) {
/frameworks/compile/mclinker/tools/mcld/lib/
H A DTargetControlOptions.cpp59 bool TargetControlOptions::parse(LinkerConfig& pConfig) argument
62 pConfig.options().setGPSize(m_GPSize);
65 pConfig.options().setWarnSharedTextrel(m_WarnSharedTextrel);
H A DSymbolOptions.cpp64 bool SymbolOptions::parse(LinkerConfig& pConfig) argument
67 pConfig.options().setDefineCommon(m_DefineCommon);
72 pConfig.options().getUndefSymList().push_back(*usym);
H A DOptimizationOptions.cpp118 bool OptimizationOptions::parse(LinkerConfig& pConfig) argument
122 pConfig.options().setGCSections();
126 pConfig.options().setPrintGCSections();
129 pConfig.options().setGenUnwindInfo(m_GenUnwindInfo);
132 pConfig.options().setICFMode(m_ICF);
133 pConfig.options().setICFIterations(m_ICFIterations);
134 pConfig.options().setPrintICFSections(m_PrintICFSections);
H A DOutputFormatOptions.cpp205 bool OutputFormatOptions::parse(mcld::Module& pModule, LinkerConfig& pConfig) argument
207 if (!parseOutput(pModule, pConfig)) {
213 pConfig.options().setBinaryInput();
215 pConfig.options().setStripDebug(m_StripDebug || m_StripAll);
217 pConfig.options().setStripSymbols(mcld::GeneralOptions::StripAllSymbols);
219 pConfig.options().setStripSymbols(mcld::GeneralOptions::StripLocals);
221 pConfig.options().setStripSymbols(mcld::GeneralOptions::StripTemporaries);
223 pConfig.options().setStripSymbols(mcld::GeneralOptions::KeepAllSymbols);
225 pConfig.options().setEhFrameHdr(m_EhFrameHdr);
226 pConfig
250 parseOutput(Module& pModule, LinkerConfig& pConfig) argument
[all...]
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64ELFMCLinker.cpp16 AArch64ELFMCLinker::AArch64ELFMCLinker(LinkerConfig& pConfig, argument
19 : ELFMCLinker(pConfig, pModule, pFileHandle) {
H A DAArch64Emulation.cpp17 static bool MCLDEmulateAArch64ELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
23 pConfig.targets().setEndian(TargetOptions::Little);
24 pConfig.targets().setBitClass(64);
27 pConfig.attribute().constraint().enableWholeArchive();
28 pConfig.attribute().constraint().enableAsNeeded();
29 pConfig.attribute().constraint().setSharedSystem();
32 pConfig.attribute().predefined().unsetWholeArchive();
33 pConfig.attribute().predefined().unsetAsNeeded();
34 pConfig
47 emulateAArch64LD(LinkerScript& pScript, LinkerConfig& pConfig) argument
[all...]
H A DAArch64MCLinker.cpp24 LinkerConfig& pConfig,
38 return new AArch64ELFMCLinker(pConfig, pModule, pFileHandle);
23 createAArch64MCLinker(const std::string& pTriple, LinkerConfig& pConfig, mcld::Module& pModule, FileHandle& pFileHandle) argument
H A DAArch64ELFDynamic.cpp17 const LinkerConfig& pConfig)
18 : ELFDynamic(pParent, pConfig)
16 AArch64ELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig) argument
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMELFMCLinker.cpp13 ARMELFMCLinker::ARMELFMCLinker(LinkerConfig& pConfig, argument
16 : ELFMCLinker(pConfig, pModule, pFileHandle) {
H A DARMEmulation.cpp17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
23 pConfig.targets().setEndian(TargetOptions::Little);
24 pConfig.targets().setBitClass(32);
27 pConfig.attribute().constraint().enableWholeArchive();
28 pConfig.attribute().constraint().enableAsNeeded();
29 pConfig.attribute().constraint().setSharedSystem();
32 pConfig.attribute().predefined().unsetWholeArchive();
33 pConfig.attribute().predefined().unsetAsNeeded();
34 pConfig
49 emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) argument
[all...]
H A DARMMCLinker.cpp23 LinkerConfig& pConfig,
37 return new ARMELFMCLinker(pConfig, pModule, pFileHandle);
22 createARMMCLinker(const std::string& pTriple, LinkerConfig& pConfig, mcld::Module& pModule, FileHandle& pFileHandle) argument
H A DARMELFDynamic.cpp16 const LinkerConfig& pConfig)
17 : ELFDynamic(pParent, pConfig)
15 ARMELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig) argument
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonELFMCLinker.cpp13 HexagonELFMCLinker::HexagonELFMCLinker(LinkerConfig& pConfig, argument
16 : ELFMCLinker(pConfig, pModule, pFileHandle) {
H A DHexagonEmulation.cpp17 static bool MCLDEmulateHexagonELF(LinkerScript& pScript, LinkerConfig& pConfig) argument
19 if (!MCLDEmulateELF(pScript, pConfig))
23 pConfig.targets().setEndian(TargetOptions::Little);
24 pConfig.targets().setBitClass(32);
27 pConfig.attribute().constraint().enableWholeArchive();
28 pConfig.attribute().constraint().enableAsNeeded();
29 pConfig.attribute().constraint().setSharedSystem();
32 pConfig.attribute().predefined().unsetWholeArchive();
33 pConfig.attribute().predefined().unsetAsNeeded();
34 pConfig
41 emulateHexagonLD(LinkerScript& pScript, LinkerConfig& pConfig) argument
[all...]
H A DHexagonMCLinker.cpp22 LinkerConfig& pConfig,
37 return new HexagonELFMCLinker(pConfig, pModule, pFileHandle);
21 createHexagonMCLinker(const std::string &pTriple, LinkerConfig& pConfig, mcld::Module& pModule, FileHandle& pFileHandle) argument
H A DHexagonELFDynamic.cpp16 const LinkerConfig& pConfig)
17 : ELFDynamic(pParent, pConfig) {
15 HexagonELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig) argument
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsELFMCLinker.cpp13 MipsELFMCLinker::MipsELFMCLinker(LinkerConfig& pConfig, argument
16 : ELFMCLinker(pConfig, pModule, pFileHandle) {
H A DMipsMCLinker.cpp21 mcld::LinkerConfig& pConfig,
35 return new mcld::MipsELFMCLinker(pConfig, pModule, pFileHandle);
20 createMipsMCLinker(const std::string &pTriple, mcld::LinkerConfig& pConfig, mcld::Module& pModule, mcld::FileHandle& pFileHandle) argument
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86ELFMCLinker.cpp13 X86ELFMCLinker::X86ELFMCLinker(LinkerConfig& pConfig, argument
16 : ELFMCLinker(pConfig, pModule, pFileHandle) {
H A DX86MCLinker.cpp23 LinkerConfig& pConfig,
37 return new X86ELFMCLinker(pConfig, pModule, pFileHandle);
22 createX86MCLinker(const std::string &pTriple, LinkerConfig& pConfig, mcld::Module& pModule, FileHandle& pFileHandle) argument
/frameworks/compile/mclinker/lib/LD/
H A DBSDArchiveReader.cpp23 bool BSDArchiveReader::readArchive(const LinkerConfig& pConfig, argument
/frameworks/compile/mclinker/lib/Support/
H A DMsgHandling.cpp31 mcld::InitializeDiagnosticEngine(const mcld::LinkerConfig& pConfig, argument
34 g_pEngine->reset(pConfig);
38 DiagnosticPrinter* printer = new TextDiagnosticPrinter(mcld::errs(), pConfig);

Completed in 230 milliseconds

1234