Lines Matching full:pconfig
17 static bool MCLDEmulateX86ELF(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().triple().getEnvironment() == llvm::Triple::GNUX32) {
32 pConfig.targets().setBitClass(bitclass);
35 pConfig.attribute().constraint().enableWholeArchive();
36 pConfig.attribute().constraint().enableAsNeeded();
37 pConfig.attribute().constraint().setSharedSystem();
40 pConfig.attribute().predefined().unsetWholeArchive();
41 pConfig.attribute().predefined().unsetAsNeeded();
42 pConfig.attribute().predefined().setDynamic();
49 bool emulateX86LD(LinkerScript& pScript, LinkerConfig& pConfig) {
50 if (pConfig.targets().triple().isOSDarwin()) {
54 if (pConfig.targets().triple().isOSWindows()) {
59 return MCLDEmulateX86ELF(pScript, pConfig);