Lines Matching refs:pConfig
17 static bool MCLDEmulateMipsELF(LinkerScript& pScript, LinkerConfig& pConfig) { in MCLDEmulateMipsELF() argument
18 if (!MCLDEmulateELF(pScript, pConfig)) in MCLDEmulateMipsELF()
22 pConfig.targets().setEndian(TargetOptions::Little); in MCLDEmulateMipsELF()
24 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateMipsELF()
27 pConfig.targets().setBitClass(bitclass); in MCLDEmulateMipsELF()
30 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateMipsELF()
31 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateMipsELF()
32 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateMipsELF()
35 pConfig.attribute().predefined().unsetWholeArchive(); in MCLDEmulateMipsELF()
36 pConfig.attribute().predefined().unsetAsNeeded(); in MCLDEmulateMipsELF()
37 pConfig.attribute().predefined().setDynamic(); in MCLDEmulateMipsELF()
44 bool emulateMipsLD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateMipsLD() argument
45 if (pConfig.targets().triple().isOSDarwin()) { in emulateMipsLD()
49 if (pConfig.targets().triple().isOSWindows()) { in emulateMipsLD()
54 return MCLDEmulateMipsELF(pScript, pConfig); in emulateMipsLD()