Home
last modified time | relevance | path

Searched refs:m_pConfig (Results 1 – 16 of 16) sorted by relevance

/frameworks/compile/mclinker/lib/Core/
DLinker.cpp35 : m_pConfig(NULL), in Linker()
49 m_pConfig = &pConfig; in emulate()
78 assert(m_pConfig != NULL); in normalize()
82 m_pObjLinker = new ObjectLinker(*m_pConfig, *m_pBackend); in normalize()
106 if (m_pConfig->options().trace()) { in normalize()
140 if (LinkerConfig::DynObj == m_pConfig->codeGenType() || in normalize()
141 m_pConfig->options().isPIE()) { in normalize()
142 m_pConfig->setCodePosition(LinkerConfig::Independent); in normalize()
147 m_pConfig->setCodePosition(LinkerConfig::StaticDependent); in normalize()
149 if (LinkerConfig::Exec == m_pConfig->codeGenType()) { in normalize()
[all …]
/frameworks/compile/mclinker/lib/LD/
DRelocationFactory.cpp26 : GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT>(), m_pConfig(NULL) { in RelocationFactory()
30 m_pConfig = &pConfig; in setConfig()
36 if (m_pConfig == NULL) { in produce()
47 if (llvm::sys::IsLittleEndianHost != m_pConfig->targets().isLittleEndian()) { in produce()
50 switch (m_pConfig->targets().bitclass()) { in produce()
63 fatal(diag::unsupported_bitclass) << m_pConfig->targets().triple().str() in produce()
64 << m_pConfig->targets().bitclass(); in produce()
69 pFragRef.memcpy(&target_data, (m_pConfig->targets().bitclass() / 8)); in produce()
DDiagnosticEngine.cpp24 : m_pConfig(NULL), in DiagnosticEngine()
42 m_pConfig = &pConfig; in reset()
44 m_pInfoMap = new DiagnosticInfos(*m_pConfig); in reset()
/frameworks/compile/mclinker/unittests/
DELFReaderTest.cpp32 m_pConfig = new LinkerConfig("x86_64-linux-gnueabi"); in ELFReaderTest()
33 m_pConfig->targets().setEndian(TargetOptions::Little); in ELFReaderTest()
34 m_pConfig->targets().setBitClass(64); in ELFReaderTest()
35 Relocation::SetUp(*m_pConfig); in ELFReaderTest()
38 m_pInfo = new X86_64GNUInfo(m_pConfig->targets().triple()); in ELFReaderTest()
39 m_pLDBackend = new X86_64GNULDBackend(*m_pConfig, m_pInfo); in ELFReaderTest()
42 m_pIRBuilder = new IRBuilder(*m_pModule, *m_pConfig); in ELFReaderTest()
44 new ELFObjectReader(*m_pLDBackend, *m_pIRBuilder, *m_pConfig); in ELFReaderTest()
49 delete m_pConfig; in ~ELFReaderTest()
DInputTreeTest.cpp27 m_pConfig = new mcld::LinkerConfig("arm-none-linux-gnueabi"); in InputTreeTest()
28 m_pAlloc = new mcld::InputFactory(10, *m_pConfig); in InputTreeTest()
30 *m_pConfig, *m_pAlloc, m_ContextFactory, m_MemFactory, false); in InputTreeTest()
40 delete m_pConfig; in ~InputTreeTest()
DUniqueGCFactoryBaseTest.cpp20 m_pConfig = new LinkerConfig("arm-none-linux-gnueabi"); in UniqueGCFactoryBaseTest()
25 delete m_pConfig; in ~UniqueGCFactoryBaseTest()
DUniqueGCFactoryBaseTest.h39 mcld::LinkerConfig* m_pConfig;
DStaticResolverTest.h46 mcld::LinkerConfig* m_pConfig; variable
DInputTreeTest.h45 mcld::LinkerConfig* m_pConfig;
DELFReaderTest.h44 mcld::LinkerConfig* m_pConfig; variable
DStaticResolverTest.cpp24 StaticResolverTest::StaticResolverTest() : m_pResolver(NULL), m_pConfig(NULL) { in StaticResolverTest()
28 m_pConfig = new LinkerConfig("arm-none-linux-gnueabi"); in StaticResolverTest()
34 delete m_pConfig; in ~StaticResolverTest()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsELFDynamic.cpp23 : ELFDynamic(pParent, pConfig), m_pParent(pParent), m_pConfig(pConfig) { in MipsELFDynamic()
79 if (LinkerConfig::Exec != m_pConfig.codeGenType()) in getBaseAddress()
DMipsELFDynamic.h24 const LinkerConfig& m_pConfig; variable
/frameworks/compile/mclinker/include/mcld/LD/
DRelocationFactory.h52 const LinkerConfig* m_pConfig;
DDiagnosticEngine.h134 const LinkerConfig* m_pConfig;
/frameworks/compile/mclinker/include/mcld/
DLinker.h72 LinkerConfig* m_pConfig;