Home
last modified time | relevance | path

Searched refs:m_Config (Results 1 – 25 of 34) 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()
100 if (LinkerConfig::DynObj == m_Config.codeGenType()) { in reserveEntries()
103 if (m_Config.options().Bsymbolic()) in reserveEntries()
166 if (m_Config.options().hasOrigin()) in reserveEntries()
[all …]
DTargetLDBackend.cpp15 : m_Config(pConfig) { in TargetLDBackend()
/frameworks/compile/mclinker/lib/LD/
DDiagnosticInfos.cpp97 : m_Config(pConfig) { in DiagnosticInfos()
122 if (m_Config.options().isMulDefs()) { in process()
131 switch(m_Config.codeGenType()) { in process()
133 if (m_Config.options().isNoUndefined()) in process()
139 if (m_Config.options().isNoUndefined()) in process()
151 if (!m_Config.options().getPrintGCSections()) in process()
160 if (m_Config.options().isFatalWarnings()) { in process()
DTextDiagnosticPrinter.cpp28 : m_OStream(pOStream), m_Config(pConfig), m_pInput(NULL) { in TextDiagnosticPrinter()
77 if (0 <= m_Config.options().verbose()) { in handleDiagnostic()
87 if (1 <= m_Config.options().verbose()) { in handleDiagnostic()
97 if (2 <= m_Config.options().verbose()) { in handleDiagnostic()
127 int16_t error_limit = m_Config.options().maxErrorNum(); in handleDiagnostic()
140 int16_t warning_limit = m_Config.options().maxWarnNum(); in handleDiagnostic()
DELFBinaryReader.cpp28 : m_Builder(pBuilder), m_Config(pConfig) { in ELFBinaryReader()
39 return m_Config.options().isBinaryInput(); in isMyFormat()
77 m_Config.targets().bitclass() / 8); in readBinary()
DELFObjectWriter.cpp46 : ObjectWriter(), m_Backend(pBackend), m_Config(pConfig) in ELFObjectWriter()
111 emitRelocation(m_Config, *section, region); in writeSection()
124 bool is_dynobj = m_Config.codeGenType() == LinkerConfig::DynObj; in writeObject()
125 bool is_exec = m_Config.codeGenType() == LinkerConfig::Exec; in writeObject()
126 bool is_binary = m_Config.codeGenType() == LinkerConfig::Binary; in writeObject()
127 bool is_object = m_Config.codeGenType() == LinkerConfig::Object; in writeObject()
166 if (m_Config.targets().is32Bits()) { in writeObject()
169 writeELFHeader<32>(m_Config, pModule, pOutput); in writeObject()
173 emitSectionHeader<32>(pModule, m_Config, pOutput); in writeObject()
175 else if (m_Config.targets().is64Bits()) { in writeObject()
[all …]
DGarbageCollection.cpp108 : m_Config(pConfig), m_Backend(pBackend), m_Module(pModule) in GarbageCollection()
215 if (LinkerConfig::Exec == m_Config.codeGenType() || in getEntrySections()
216 m_Config.options().isPIE()) { in getEntrySections()
260 info->shouldForceLocal(m_Config)) in getEntrySections()
279 m_Config.options().undef_sym_end(); in getEntrySections()
280 for (usym = m_Config.options().undef_sym_begin(); usym != usymEnd; ++usym) { in getEntrySections()
DELFObjectReader.cpp43 m_Config(pConfig) { in ELFObjectReader()
165 if (m_Config.options().stripDebug()) in readSections()
215 if (m_Config.options().stripDebug()) { in readSections()
230 if ((m_Config.codeGenType() != LinkerConfig::Object) && in readSections()
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp56 : m_Config(pConfig), in ObjectLinker()
121 m_Config.options().undef_sym_end(); in addUndefinedSymbols()
122 for (usym = m_Config.options().undef_sym_begin(); usym != usymEnd; ++usym) { in addUndefinedSymbols()
155 m_Config); in normalize()
201 if (m_Config.options().isInExcludeLIBS(**input)) { in normalize()
205 getArchiveReader()->readArchive(m_Config, archive); in normalize()
215 if (getScriptReader()->readScript(m_Config, script)) { in normalize()
225 if (m_Config.options().warnMismatch()) in normalize()
227 << m_Config.targets().triple().str(); in normalize()
256 if (m_Config.options().nmagic() && !m_Config.isCodeStatic()) { in linkable()
[all …]
/frameworks/compile/mclinker/lib/CodeGen/
DMCLinker.cpp204 m_Config(pConfig), in MCLinker()
222 if (!m_pLinker->emulate(m_Module.getScript(), m_Config)) in doInitialization()
225 m_pBuilder = new IRBuilder(m_Module, m_Config); in doInitialization()
253 !m_Config.bitcode().hasDefined()) { in initializeInputTree()
277 if (!m_Config.options().getScriptList().empty()) { in initializeInputTree()
278 GeneralOptions::const_script_iterator ii, ie = m_Config.options().script_end(); in initializeInputTree()
279 for (ii = m_Config.options().script_begin(); ii != ie; ++ii) { in initializeInputTree()
406 if (m_Config.bitcode().hasDefined()) { in initializeInputTree()
407 actions.push_back(new BitcodeAction(m_Config.bitcode().getPosition(), in initializeInputTree()
408 m_Config.bitcode().getPath())); in initializeInputTree()
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.cpp59 m_Config(pConfig) in X86PLT()
61 assert(LinkerConfig::DynObj == m_Config.codeGenType() || in X86PLT()
62 LinkerConfig::Exec == m_Config.codeGenType() || in X86PLT()
63 LinkerConfig::Binary == m_Config.codeGenType()); in X86PLT()
66 if (LinkerConfig::DynObj == m_Config.codeGenType()) { in X86PLT()
129 if (LinkerConfig::DynObj == m_Config.codeGenType()) in create()
193 if (LinkerConfig::Exec == m_Config.codeGenType()) in applyPLT1()
/frameworks/compile/mclinker/include/mcld/Target/
DELFAttribute.h52 : m_Backend(pBackend), m_Config(pConfig) { } in ELFAttribute()
69 inline const LinkerConfig &config() const { return m_Config; } in config()
114 const LinkerConfig &m_Config; variable
DTargetLDBackend.h182 const LinkerConfig& config() const { return m_Config; } in config()
185 const LinkerConfig& m_Config;
DELFDynamic.h185 const LinkerConfig& config() const { return m_Config; } in config()
192 const LinkerConfig& m_Config; variable
/frameworks/compile/mclinker/include/mcld/LD/
DRelocator.h46 : m_Config(pConfig) in Relocator()
126 const LinkerConfig& config() const { return m_Config; } in config()
129 const LinkerConfig& m_Config;
DELFBinaryReader.h37 const LinkerConfig& m_Config; variable
DDiagnosticInfos.h49 const LinkerConfig& m_Config;
DTextDiagnosticPrinter.h40 const LinkerConfig& m_Config; variable
DELFObjectReader.h66 const LinkerConfig& m_Config; variable
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonPLT.cpp42 m_Config(pConfig) in HexagonPLT()
44 assert(LinkerConfig::DynObj == m_Config.codeGenType() || in HexagonPLT()
45 LinkerConfig::Exec == m_Config.codeGenType() || in HexagonPLT()
46 LinkerConfig::Binary == m_Config.codeGenType()); in HexagonPLT()
DHexagonPLT.h95 const LinkerConfig& m_Config; variable
/frameworks/compile/mclinker/lib/MC/
DInputBuilder.cpp21 : m_Config(pConfig), in InputBuilder()
35 : m_Config(pConfig), in InputBuilder()
147 return m_Config.attribute().constraint(); in getConstraint()
/frameworks/compile/mclinker/lib/Script/
DGroupCmd.cpp38 m_Config(pConfig) in GroupCmd()
163 m_GroupReader.readGroup(group, m_InputTree.end(), m_Builder, m_Config); in activate()
/frameworks/compile/mclinker/include/mcld/Script/
DGroupCmd.h51 const LinkerConfig& m_Config; variable
/frameworks/compile/mclinker/include/mcld/CodeGen/
DMCLinker.h69 LinkerConfig& m_Config;

12