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