Home
last modified time | relevance | path

Searched refs:m_Config (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/compile/mclinker/lib/Target/
DELFDynamic.cpp36 : m_pEntryFactory(NULL), m_Backend(pParent), m_Config(pConfig), m_Idx(0) { in ELFDynamic()
38 if (m_Config.targets().is32Bits()) { in ELFDynamic()
39 if (m_Config.targets().isLittleEndian()) in ELFDynamic()
41 } else if (m_Config.targets().is64Bits()) { in ELFDynamic()
42 if (m_Config.targets().isLittleEndian()) in ELFDynamic()
45 fatal(diag::unsupported_bitclass) << m_Config.targets().triple().str() in ELFDynamic()
46 << m_Config.targets().bitclass(); in ELFDynamic()
92 if (LinkerConfig::DynObj == m_Config.codeGenType()) { in reserveEntries()
95 if (m_Config.options().Bsymbolic()) in reserveEntries()
157 if (m_Config.options().hasOrigin()) in reserveEntries()
[all …]
DTargetLDBackend.cpp16 : m_Config(pConfig) { in TargetLDBackend()
/frameworks/compile/mclinker/lib/LD/
DDiagnosticInfos.cpp101 : m_Config(pConfig) { in DiagnosticInfos()
124 if (m_Config.options().isMulDefs()) { in process()
134 switch (m_Config.codeGenType()) { in process()
136 if (m_Config.options().isNoUndefined()) in process()
142 if (m_Config.options().isNoUndefined()) in process()
154 if (!m_Config.options().getPrintGCSections()) in process()
163 if (m_Config.options().isFatalWarnings()) { in process()
DTextDiagnosticPrinter.cpp37 : m_OStream(pOStream), m_Config(pConfig), m_pInput(NULL) { in TextDiagnosticPrinter()
84 if (m_Config.options().verbose() >= 0) { in handleDiagnostic()
94 if (m_Config.options().verbose() >= 1) { in handleDiagnostic()
104 if (m_Config.options().verbose() >= 2) { in handleDiagnostic()
136 int16_t error_limit = m_Config.options().maxErrorNum(); in handleDiagnostic()
149 int16_t warning_limit = m_Config.options().maxWarnNum(); in handleDiagnostic()
DGarbageCollection.cpp101 : m_Config(pConfig), m_Backend(pBackend), m_Module(pModule) { in GarbageCollection()
204 if (LinkerConfig::DynObj == m_Config.codeGenType() || in getEntrySections()
205 m_Config.options().exportDynamic()) { in getEntrySections()
212 info->shouldForceLocal(m_Config)) in getEntrySections()
229 if (LinkerConfig::Exec == m_Config.codeGenType() || in getEntrySections()
230 m_Config.options().isPIE()) { in getEntrySections()
240 if (!m_Config.options().exportDynamic()) { in getEntrySections()
271 m_Config.options().undef_sym_end(); in getEntrySections()
272 for (usym = m_Config.options().undef_sym_begin(); usym != usymEnd; ++usym) { in getEntrySections()
DELFBinaryReader.cpp28 : m_Builder(pBuilder), m_Config(pConfig) { in ELFBinaryReader()
37 return m_Config.options().isBinaryInput(); in isMyFormat()
67 m_Config.targets().bitclass() / 8); in readBinary()
DELFObjectWriter.cpp45 : ObjectWriter(), m_Backend(pBackend), m_Config(pConfig) { in ELFObjectWriter()
106 emitRelocation(m_Config, *section, region); in writeSection()
121 bool is_dynobj = m_Config.codeGenType() == LinkerConfig::DynObj; in writeObject()
122 bool is_exec = m_Config.codeGenType() == LinkerConfig::Exec; in writeObject()
123 bool is_binary = m_Config.codeGenType() == LinkerConfig::Binary; in writeObject()
124 bool is_object = m_Config.codeGenType() == LinkerConfig::Object; in writeObject()
163 if (m_Config.targets().is32Bits()) { in writeObject()
166 writeELFHeader<32>(m_Config, pModule, pOutput); in writeObject()
170 emitSectionHeader<32>(pModule, m_Config, pOutput); in writeObject()
171 } else if (m_Config.targets().is64Bits()) { in writeObject()
[all …]
DIdenticalCodeFolding.cpp51 : m_Config(pConfig), m_Backend(pBackend), m_Module(pModule) { in IdenticalCodeFolding()
67 while (!converged && (iterations < m_Config.options().getICFIterations())) { in foldIdenticalCode()
71 if (m_Config.options().printICFSections()) { in foldIdenticalCode()
88 if (m_Config.options().printICFSections()) { in foldIdenticalCode()
140 if (m_Config.options().getICFMode() == GeneralOptions::ICF::Safe) { in findCandidates()
169 if ((m_Config.options().getICFMode() == GeneralOptions::ICF::All) || in findCandidates()
DELFObjectReader.cpp44 m_Config(pConfig) { in ELFObjectReader()
163 if (m_Config.options().stripDebug()) in readSections()
214 if (m_Config.options().stripDebug()) { in readSections()
228 if ((m_Config.codeGenType() != LinkerConfig::Object) && in readSections()
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp57 : m_Config(pConfig), in ObjectLinker()
122 m_Config.options().undef_sym_end(); in addUndefinedSymbols()
123 for (usym = m_Config.options().undef_sym_begin(); usym != usymEnd; ++usym) { in addUndefinedSymbols()
153 input, inEnd, m_pBuilder->getInputBuilder(), m_Config); in normalize()
199 if (m_Config.options().isInExcludeLIBS(**input)) { in normalize()
203 getArchiveReader()->readArchive(m_Config, archive); in normalize()
213 if (getScriptReader()->readScript(m_Config, script)) { in normalize()
222 if (m_Config.options().warnMismatch()) in normalize()
224 << (*input)->path() << m_Config.targets().triple().str(); in normalize()
252 if (m_Config.options().nmagic() && !m_Config.isCodeStatic()) { in linkable()
[all …]
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.cpp52 : PLT(pSection), m_Config(pConfig) { in X86PLT()
53 assert(LinkerConfig::DynObj == m_Config.codeGenType() || in X86PLT()
54 LinkerConfig::Exec == m_Config.codeGenType() || in X86PLT()
55 LinkerConfig::Binary == m_Config.codeGenType()); in X86PLT()
58 if (LinkerConfig::DynObj == m_Config.codeGenType()) { in X86PLT()
115 if (LinkerConfig::DynObj == m_Config.codeGenType()) in create()
175 if (LinkerConfig::Exec == m_Config.codeGenType()) in applyPLT1()
/frameworks/compile/mclinker/include/mcld/Target/
DELFAttribute.h51 : m_Backend(pBackend), m_Config(pConfig) {} in ELFAttribute()
68 inline const LinkerConfig& config() const { return m_Config; } in config()
112 const LinkerConfig& m_Config; variable
DELFDynamic.h170 const LinkerConfig& config() const { return m_Config; } in config()
177 const LinkerConfig& m_Config; variable
DTargetLDBackend.h202 const LinkerConfig& config() const { return m_Config; } in config()
211 const LinkerConfig& m_Config;
/frameworks/compile/mclinker/include/mcld/LD/
DRelocator.h36 explicit Relocator(const LinkerConfig& pConfig) : m_Config(pConfig) {} in Relocator()
120 const LinkerConfig& config() const { return m_Config; } in config()
123 const LinkerConfig& m_Config;
DELFBinaryReader.h35 const LinkerConfig& m_Config; variable
DDiagnosticInfos.h50 const LinkerConfig& m_Config;
DTextDiagnosticPrinter.h40 const LinkerConfig& m_Config; variable
DELFObjectReader.h64 const LinkerConfig& m_Config; variable
DGarbageCollection.h80 const LinkerConfig& m_Config; variable
/frameworks/compile/mclinker/lib/Script/
DInputCmd.cpp51 m_Config(pConfig) { in InputCmd()
197 if (m_Config.options().isInExcludeLIBS(**input)) { in activate()
201 m_ArchiveReader.readArchive(m_Config, archive); in activate()
206 if (m_Config.options().warnMismatch()) in activate()
208 << (*input)->path() << m_Config.targets().triple().str(); in activate()
DGroupCmd.cpp40 m_Config(pConfig) { in GroupCmd()
167 m_GroupReader.readGroup(group, m_InputTree.end(), m_Builder, m_Config); in activate()
/frameworks/compile/mclinker/lib/MC/
DInputBuilder.cpp21 : m_Config(pConfig), in InputBuilder()
36 : m_Config(pConfig), in InputBuilder()
136 return m_Config.attribute().constraint(); in getConstraint()
/frameworks/compile/mclinker/include/mcld/Script/
DGroupCmd.h48 const LinkerConfig& m_Config; variable
DInputCmd.h54 const LinkerConfig& m_Config; variable

12