Home
last modified time | relevance | path

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

12

/aosp12/frameworks/compile/mclinker/lib/Target/
H A DELFDynamic.cpp38 if (m_Config.targets().is32Bits()) { in ELFDynamic()
157 if (m_Config.options().hasOrigin()) in reserveEntries()
161 if (m_Config.options().hasNow()) in reserveEntries()
176 if (m_Config.options().hasNow() || m_Config.options().hasLoadFltr() || in reserveEntries()
177 m_Config.options().hasOrigin() || m_Config.options().hasInterPose() || in reserveEntries()
178 m_Config.options().hasNoDefaultLib() || m_Config.options().hasNoDump() || in reserveEntries()
179 m_Config.options().Bgroup() || in reserveEntries()
181 (m_Config.options().hasNoDelete() || m_Config.options().hasInitFirst() || in reserveEntries()
273 if (m_Config.options().hasNow()) in applyEntries()
286 if (m_Config.options().hasNow()) in applyEntries()
[all …]
H A DTargetLDBackend.cpp16 : m_Config(pConfig) { in TargetLDBackend()
/aosp12/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp57 : m_Config(pConfig), in ObjectLinker()
122 m_Config.options().undef_sym_end(); in addUndefinedSymbols()
222 if (m_Config.options().warnMismatch()) in normalize()
252 if (m_Config.options().nmagic() && !m_Config.isCodeStatic()) { in linkable()
256 if (m_Config.options().omagic() && !m_Config.isCodeStatic()) { in linkable()
270 if (m_Config.options().GCSections()) { in dataStrippingOpt()
473 if (pInfo.shouldForceLocal(m_Config)) in addSymbolToOutput()
638 m_Config.options().isDefineCommon()) in allocateCommonSymbols()
658 if (!m_Config.isCodeStatic() && in prelayout()
660 m_Config.options().isPIE() || m_Config.options().hasDyld())) in prelayout()
[all …]
/aosp12/frameworks/compile/mclinker/lib/LD/
H A 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()
H A 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()
H A 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()
H A DELFObjectWriter.cpp45 : ObjectWriter(), m_Backend(pBackend), m_Config(pConfig) { in ELFObjectWriter()
106 emitRelocation(m_Config, *section, region); in writeSection()
122 bool is_exec = m_Config.codeGenType() == LinkerConfig::Exec; 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()
174 writeELFHeader<64>(m_Config, pModule, pOutput); in writeObject()
178 emitSectionHeader<64>(pModule, m_Config, pOutput); in writeObject()
189 if (m_Config.targets().is32Bits()) { in getOutputSize()
[all …]
H A 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()
H A 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()
H A 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()
/aosp12/frameworks/compile/mclinker/lib/Target/X86/
H A 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()
/aosp12/frameworks/compile/mclinker/include/mcld/Target/
H A 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
H A DELFDynamic.h170 const LinkerConfig& config() const { return m_Config; } in config()
177 const LinkerConfig& m_Config; variable
H A DTargetLDBackend.h202 const LinkerConfig& config() const { return m_Config; } in config()
211 const LinkerConfig& m_Config;
/aosp12/frameworks/compile/mclinker/lib/Script/
H A 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()
H A DGroupCmd.cpp40 m_Config(pConfig) { in GroupCmd()
167 m_GroupReader.readGroup(group, m_InputTree.end(), m_Builder, m_Config); in activate()
/aosp12/frameworks/compile/mclinker/include/mcld/LD/
H A 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;
H A DELFBinaryReader.h35 const LinkerConfig& m_Config; variable
H A DDiagnosticInfos.h50 const LinkerConfig& m_Config;
H A DTextDiagnosticPrinter.h40 const LinkerConfig& m_Config; variable
H A DELFObjectReader.h64 const LinkerConfig& m_Config; variable
H A DGarbageCollection.h80 const LinkerConfig& m_Config; variable
/aosp12/frameworks/compile/mclinker/lib/MC/
H A DInputBuilder.cpp21 : m_Config(pConfig), in InputBuilder()
36 : m_Config(pConfig), in InputBuilder()
136 return m_Config.attribute().constraint(); in getConstraint()
/aosp12/frameworks/compile/mclinker/include/mcld/Script/
H A DGroupCmd.h48 const LinkerConfig& m_Config; variable
H A DInputCmd.h54 const LinkerConfig& m_Config; variable

12