• Home
  • Raw
  • Download

Lines Matching refs:hasArg

115     if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) &&  in CheckPreprocessingOptions()
116 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) { in CheckPreprocessingOptions()
128 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions()
289 return Args.hasArg(options::OPT_fobjc_link_runtime); in isObjCRuntimeLinked()
335 if (!Args.hasArg(options::OPT_MT) && !Args.hasArg(options::OPT_MQ)) { in AddPreprocessingOptions()
362 !Args.hasArg(options::OPT_fno_module_file_deps)) || in AddPreprocessingOptions()
363 Args.hasArg(options::OPT_fmodule_file_deps)) in AddPreprocessingOptions()
367 if (Args.hasArg(options::OPT_MG)) { in AddPreprocessingOptions()
548 if (!Args.hasArg(options::OPT_isysroot)) { in AddPreprocessingOptions()
855 Args.hasArg(options::OPT_mkernel, options::OPT_fapple_kext); in getARMTargetFeatures()
1032 if (Args.hasArg(options::OPT_ffixed_r9)) in getARMTargetFeatures()
1036 if (KernelOrKext || Args.hasArg(options::OPT_mno_movt)) in getARMTargetFeatures()
1152 Args.hasArg(options::OPT_mkernel) || in AddAArch64TargetArgs()
1153 Args.hasArg(options::OPT_fapple_kext)) in AddAArch64TargetArgs()
2225 Args.hasArg(options::OPT_mkernel) || in AddX86TargetArgs()
2226 Args.hasArg(options::OPT_fapple_kext)) in AddX86TargetArgs()
2231 bool NoImplicitFloat = (Args.hasArg(options::OPT_mkernel) || in AddX86TargetArgs()
2232 Args.hasArg(options::OPT_fapple_kext)); in AddX86TargetArgs()
2274 if (!Args.hasArg(options::OPT_fno_short_enums)) in AddHexagonTargetArgs()
2310 if (!Args.hasArg(options::OPT_fvisibility_EQ, in AddWebAssemblyTargetArgs()
2450 else if (Args.hasArg(options::OPT_arch)) in getAArch64TargetFeatures()
2460 else if (Args.hasArg(options::OPT_arch)) in getAArch64TargetFeatures()
2486 if (Args.hasArg(options::OPT_ffixed_x18)) in getAArch64TargetFeatures()
3102 if (Args.hasArg(options::OPT_shared) || TC.getTriple().isAndroid()) { in collectSanitizerRuntimes()
3273 if (Args.hasArg(options::OPT_pg)) in shouldUseFramePointer()
3284 if (Args.hasArg(options::OPT_pg)) in shouldUseLeafFramePointer()
3304 if (FinalOutput && Args.hasArg(options::OPT_c)) { in SplitDebugName()
3380 if (Args.hasArg(options::OPT_verify_pch) && Input.getType() == types::TY_PCH) in addDashXForInput()
3384 if (Args.hasArg(options::OPT_rewrite_objc)) in addDashXForInput()
3452 Args.hasArg(options::OPT_fmsc_version) || in getMSVCVersion()
3453 Args.hasArg(options::OPT_fms_compatibility_version)) { in getMSVCVersion()
3558 if (Args.hasArg(options::OPT_ftest_coverage) || in addPGOAndCoverageFlags()
3559 Args.hasArg(options::OPT_coverage)) in addPGOAndCoverageFlags()
3563 Args.hasArg(options::OPT_coverage)) in addPGOAndCoverageFlags()
3577 if (C.getArgs().hasArg(options::OPT_c) || in addPGOAndCoverageFlags()
3578 C.getArgs().hasArg(options::OPT_S)) { in addPGOAndCoverageFlags()
3611 Args.hasArg(options::OPT_fcreate_profile) || in addPS4ProfileRTArgs()
3612 Args.hasArg(options::OPT_coverage))) in addPS4ProfileRTArgs()
3629 Args.hasArg(options::OPT_static)) in ParsePICArgs()
3634 Args.hasArg(options::OPT_mkernel, options::OPT_fapple_kext); in ParsePICArgs()
3785 Args.hasArg(options::OPT_mkernel, options::OPT_fapple_kext); in ConstructJob()
3863 if (Args.hasArg(options::OPT_rewrite_objc) && in ConstructJob()
3864 !Args.hasArg(options::OPT_g_Group)) in ConstructJob()
3873 (void)Args.hasArg(options::OPT_force__cpusubtype__ALL); in ConstructJob()
3962 if (Args.hasArg(options::OPT_static)) in ConstructJob()
3975 if (!Args.hasArg(options::OPT__analyzer_no_default_checks)) { in ConstructJob()
4076 if (Args.hasArg(options::OPT_frewrite_map_file) || in ConstructJob()
4077 Args.hasArg(options::OPT_frewrite_map_file_EQ)) { in ConstructJob()
4150 if (Args.hasArg(options::OPT_fsplit_stack)) in ConstructJob()
4296 Args.hasArg(options::OPT_dA)) in ConstructJob()
4303 if (Args.hasArg(options::OPT_fdebug_pass_structure)) { in ConstructJob()
4307 if (Args.hasArg(options::OPT_fdebug_pass_arguments)) { in ConstructJob()
4350 (void)Args.hasArg(options::OPT_mtune_EQ); in ConstructJob()
4463 if (!Args.hasArg(options::OPT_fallow_unsupported)) { in ConstructJob()
4525 if (Args.hasArg(options::OPT_gcodeview) || EmitCodeView) { in ConstructJob()
4542 if (Args.hasArg(options::OPT_gmodules)) { in ConstructJob()
4571 if (Args.hasArg(options::OPT_ggnu_pubnames)) { in ConstructJob()
4579 if (Args.hasArg(options::OPT_gdwarf_aranges) || IsPS4CPU) { in ConstructJob()
4640 if (Args.hasArg(options::OPT_nostdinc)) { in ConstructJob()
4644 if (Args.hasArg(options::OPT_nostdlibinc)) in ConstructJob()
4657 if (!Args.hasArg(options::OPT_fno_objc_arc, options::OPT_fobjc_arc)) { in ConstructJob()
4695 if (!Args.hasArg(options::OPT_objcmt_migrate_literals, in ConstructJob()
4894 if (Args.hasArg(options::OPT_relocatable_pch)) in ConstructJob()
5028 if (Args.hasArg(options::OPT_faltivec)) in ConstructJob()
5041 (Args.hasArg(options::OPT_mkernel) && types::isCXX(InputType))) in ConstructJob()
5120 if (Args.hasArg(options::OPT_mstack_alignment)) { in ConstructJob()
5125 if (Args.hasArg(options::OPT_mstack_probe_size)) { in ConstructJob()
5215 !Args.hasArg(options::OPT_mkernel)); in ConstructJob()
5220 if (Args.hasArg(options::OPT_ffreestanding)) in ConstructJob()
5246 (Args.hasArg(options::OPT_fgnu_runtime) && in ConstructJob()
5247 Args.hasArg(options::OPT_fobjc_nonfragile_abi) && in ConstructJob()
5248 !Args.hasArg(options::OPT_fno_blocks))) { in ConstructJob()
5251 if (!Args.hasArg(options::OPT_fgnu_runtime) && in ConstructJob()
5356 if (Args.hasArg(options::OPT_fbuild_session_timestamp)) in ConstructJob()
5483 else if (Args.hasArg(options::OPT_fno_declspec)) in ConstructJob()
5509 if (Args.hasArg(options::OPT_fno_inline)) in ConstructJob()
5624 if (Args.hasArg(options::OPT_fsjlj_exceptions) || in ConstructJob()
5670 bool SkipMaxTypeAlign = Args.hasArg(options::OPT_fno_max_type_align); in ConstructJob()
5778 if (Args.hasArg(options::OPT_fansi_escape_codes)) in ConstructJob()
5869 if (!Args.hasArg(options::OPT_fbuiltin_strcat)) in ConstructJob()
5871 if (!Args.hasArg(options::OPT_fbuiltin_strcpy)) in ConstructJob()
5903 if (Args.hasArg(options::OPT_fretain_comments_from_system_headers)) in ConstructJob()
6015 if (Args.hasArg(options::OPT__SLASH_fallback) && in ConstructJob()
6022 } else if (Args.hasArg(options::OPT__SLASH_fallback) && in ConstructJob()
6039 if (Args.hasArg(options::OPT_fomit_frame_pointer)) in ConstructJob()
6250 if (Args.hasArg(options::OPT__SLASH_LDd)) in AddClangCLArgs()
6261 if (Args.hasArg(options::OPT__SLASH_LDd)) in AddClangCLArgs()
6274 if (Args.hasArg(options::OPT__SLASH_LDd)) in AddClangCLArgs()
6290 if (Args.hasArg(options::OPT__SLASH_Zl)) { in AddClangCLArgs()
6303 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_EP)) in AddClangCLArgs()
6344 if (Args.hasArg(options::OPT__SLASH_EP)) { in AddClangCLArgs()
6400 if (!Args.hasArg(options::OPT_fdiagnostics_format_EQ)) { in AddClangCLArgs()
6402 if (Args.hasArg(options::OPT__SLASH_fallback)) in AddClangCLArgs()
6476 (void)Args.hasArg(options::OPT_force__cpusubtype__ALL); in ConstructJob()
6600 if (Args.hasArg(options::OPT_gsplit_dwarf) && in ConstructJob()
6859 bool IsStatic = Args.hasArg(options::OPT_static); in constructHexagonLinkArgs()
6860 bool IsShared = Args.hasArg(options::OPT_shared); in constructHexagonLinkArgs()
6861 bool IsPIE = Args.hasArg(options::OPT_pie); in constructHexagonLinkArgs()
6862 bool IncStdLib = !Args.hasArg(options::OPT_nostdlib); in constructHexagonLinkArgs()
6863 bool IncStartFiles = !Args.hasArg(options::OPT_nostartfiles); in constructHexagonLinkArgs()
6864 bool IncDefLibs = !Args.hasArg(options::OPT_nodefaultlibs); in constructHexagonLinkArgs()
6880 if (Args.hasArg(options::OPT_s)) in constructHexagonLinkArgs()
6883 if (Args.hasArg(options::OPT_r)) in constructHexagonLinkArgs()
7082 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
7084 if (Args.hasArg(options::OPT_s)) in ConstructJob()
7086 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
7088 if (Args.hasArg(options::OPT_static)) in ConstructJob()
7094 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
7095 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
7097 else if (Args.hasArg(options::OPT_pie)) in ConstructJob()
7107 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
7111 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
7118 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) in ConstructJob()
7210 if (Args.hasArg(options::OPT_r)) in appendEBLinkFlags()
7435 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
7451 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
7458 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) in ConstructJob()
7487 if (Args.hasArg(options::OPT_fno_integrated_as)) { in ConstructJob()
7496 if (Args.hasArg(options::OPT_gstabs)) in ConstructJob()
7498 else if (Args.hasArg(options::OPT_g_Group)) in ConstructJob()
7508 Args.hasArg(options::OPT_force__cpusubtype__ALL)) in ConstructJob()
7512 (((Args.hasArg(options::OPT_mkernel) || in ConstructJob()
7513 Args.hasArg(options::OPT_fapple_kext)) && in ConstructJob()
7515 Args.hasArg(options::OPT_static))) in ConstructJob()
7573 if (Version[0] >= 100 && !Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in AddLinkArgs()
7576 if (Args.hasArg(options::OPT_rdynamic) && Version[0] >= 137) in AddLinkArgs()
7617 if (!Args.hasArg(options::OPT_static)) in AddLinkArgs()
7619 if (Args.hasArg(options::OPT_fgnu_runtime)) { in AddLinkArgs()
7624 if (!Args.hasArg(options::OPT_dynamiclib)) { in AddLinkArgs()
7781 if (Args.hasArg(options::OPT_ccc_arcmt_check, in ConstructJob()
7805 if (Args.hasArg(options::OPT_ObjC) || Args.hasArg(options::OPT_ObjCXX)) in ConstructJob()
7811 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) in ConstructJob()
7843 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) in ConstructJob()
7847 !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
7863 if (Args.hasArg(options::OPT_fnested_functions)) in ConstructJob()
7868 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
7878 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
7889 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
8000 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_shared)) { in ConstructJob()
8005 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8010 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
8026 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8027 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
8045 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
8050 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8056 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8160 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_shared)) { in ConstructJob()
8165 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8168 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
8172 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
8180 if (Args.hasArg(options::OPT_nopie)) in ConstructJob()
8190 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8191 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8192 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8218 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
8221 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8231 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
8232 if (!Args.hasArg(options::OPT_shared) && Args.hasArg(options::OPT_pg)) in ConstructJob()
8238 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8239 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8248 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8249 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
8289 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_shared)) { in ConstructJob()
8294 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8297 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
8301 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
8316 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8317 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8318 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8337 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
8340 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8346 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
8347 if (!Args.hasArg(options::OPT_shared) && Args.hasArg(options::OPT_pg)) in ConstructJob()
8353 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8354 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8377 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8378 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
8493 !Args.hasArg(options::OPT_shared) && in ConstructJob()
8494 (Args.hasArg(options::OPT_pie) || ToolChain.isPIEDefault()); in ConstructJob()
8512 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8515 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
8517 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
8562 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8564 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8565 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8578 if (Args.hasArg(options::OPT_static)) in ConstructJob()
8580 else if (Args.hasArg(options::OPT_shared) || IsPIE) in ConstructJob()
8603 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
8607 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8616 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8620 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8622 } else if (Args.hasArg(options::OPT_pg)) { in ConstructJob()
8630 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
8631 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
8637 if (Args.hasArg(options::OPT_pg)) { in ConstructJob()
8638 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
8648 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8650 } else if (Args.hasArg(options::OPT_pg)) { in ConstructJob()
8659 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8660 if (Args.hasArg(options::OPT_shared) || IsPIE) in ConstructJob()
8768 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8771 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
8773 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
8874 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8875 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
8881 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) { in ConstructJob()
8924 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
8930 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
8935 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
8951 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
8952 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
9179 if (Args.hasArg(options::OPT_gsplit_dwarf) && in ConstructJob()
9190 bool StaticLibgcc = Args.hasArg(options::OPT_static_libgcc) || in AddLibgcc()
9191 Args.hasArg(options::OPT_static); in AddLibgcc()
9208 else if (!Args.hasArg(options::OPT_shared) && D.CCCIsCXX()) in AddLibgcc()
9241 if (Args.hasArg(options::OPT_rtlib_EQ)) { in AddRunTimeLibs()
9317 !Args.hasArg(options::OPT_shared) && !Args.hasArg(options::OPT_static) && in ConstructJob()
9318 (Args.hasArg(options::OPT_pie) || ToolChain.isPIEDefault()); in ConstructJob()
9347 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
9350 if (Args.hasArg(options::OPT_s)) in ConstructJob()
9359 if (!Args.hasArg(options::OPT_static)) { in ConstructJob()
9366 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
9372 } else if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
9376 if (!Args.hasArg(options::OPT_static)) { in ConstructJob()
9377 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
9380 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
9391 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
9394 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
9395 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
9412 if (Args.hasArg(options::OPT_static)) in ConstructJob()
9414 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
9437 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructJob()
9447 !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
9448 bool OnlyLibstdcxxStatic = Args.hasArg(options::OPT_static_libstdcxx) && in ConstructJob()
9449 !Args.hasArg(options::OPT_static); in ConstructJob()
9460 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
9461 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
9462 if (Args.hasArg(options::OPT_static)) in ConstructJob()
9471 bool WantPthread = Args.hasArg(options::OPT_pthread) || in ConstructJob()
9472 Args.hasArg(options::OPT_pthreads); in ConstructJob()
9506 if (Args.hasArg(options::OPT_fsplit_stack)) in ConstructJob()
9515 if (Args.hasArg(options::OPT_static)) in ConstructJob()
9528 if (!Args.hasArg(options::OPT_nostartfiles) && !IsIAMCU) { in ConstructJob()
9530 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
9582 !Args.hasArg(options::OPT_dynamic) && !Args.hasArg(options::OPT_shared); in ConstructJob()
9597 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
9600 if (Args.hasArg(options::OPT_s)) in ConstructJob()
9625 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
9630 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
9631 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
9638 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
9650 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructJob()
9656 !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
9658 Args.hasArg(options::OPT_static_libstdcxx) && !IsStatic; in ConstructJob()
9667 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
9668 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
9674 if (Args.hasArg(options::OPT_pthread) || in ConstructJob()
9675 Args.hasArg(options::OPT_pthreads) || D.CCCIsCXX()) { in ConstructJob()
9703 if (!Args.hasArg(options::OPT_nostartfiles)) { in ConstructJob()
9705 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
9754 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
9769 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
9776 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
9777 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
9831 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
9834 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
9836 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
9860 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
9861 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
9862 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
9866 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
9875 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
9888 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
9891 if (!Args.hasArg(options::OPT_static)) { in ConstructJob()
9901 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
9904 if (!Args.hasArg(options::OPT_nolibc)) { in ConstructJob()
9908 if (Args.hasArg(options::OPT_static) || in ConstructJob()
9909 Args.hasArg(options::OPT_static_libgcc)) { in ConstructJob()
9913 if (Args.hasArg(options::OPT_shared_libgcc)) { in ConstructJob()
9915 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
9926 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
9927 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
9975 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles) && in ConstructJob()
10019 if (!C.getDriver().IsCLMode() && Args.hasArg(options::OPT_L)) in ConstructJob()
10025 if (Args.hasArg(options::OPT_g_Group, options::OPT__SLASH_Z7, in ConstructJob()
10029 bool DLL = Args.hasArg(options::OPT__SLASH_LD, options::OPT__SLASH_LDd, in ConstructJob()
10042 if (Args.hasArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd)) { in ConstructJob()
10081 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
10184 if (!Args.hasArg(options::OPT_fwritable_strings)) in GetCommand()
10207 if (Args.hasArg(options::OPT_fsyntax_only)) in GetCommand()
10209 if (Args.hasArg(options::OPT_g_Flag, options::OPT_gline_tables_only, in GetCommand()
10284 if (Args.hasArg(options::OPT_gsplit_dwarf)) in ConstructJob()
10291 if (Args.hasArg(options::OPT_mthreads)) in AddLibGCC()
10298 bool Static = Args.hasArg(options::OPT_static_libgcc) || in AddLibGCC()
10299 Args.hasArg(options::OPT_static); in AddLibGCC()
10300 bool Shared = Args.hasArg(options::OPT_shared); in AddLibGCC()
10349 if (Args.hasArg(options::OPT_s)) in ConstructJob()
10360 if (Args.hasArg(options::OPT_mwindows)) { in ConstructJob()
10363 } else if (Args.hasArg(options::OPT_mconsole)) { in ConstructJob()
10368 if (Args.hasArg(options::OPT_static)) in ConstructJob()
10371 if (Args.hasArg(options::OPT_mdll)) in ConstructJob()
10373 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
10376 if (Args.hasArg(options::OPT_mdll) || Args.hasArg(options::OPT_shared)) { in ConstructJob()
10397 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
10398 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_mdll)) { in ConstructJob()
10401 if (Args.hasArg(options::OPT_municode)) in ConstructJob()
10406 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
10420 !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
10421 bool OnlyLibstdcxxStatic = Args.hasArg(options::OPT_static_libstdcxx) && in ConstructJob()
10422 !Args.hasArg(options::OPT_static); in ConstructJob()
10430 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
10431 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
10432 if (Args.hasArg(options::OPT_static)) in ConstructJob()
10435 if (Args.hasArg(options::OPT_fstack_protector) || in ConstructJob()
10436 Args.hasArg(options::OPT_fstack_protector_strong) || in ConstructJob()
10437 Args.hasArg(options::OPT_fstack_protector_all)) { in ConstructJob()
10441 if (Args.hasArg(options::OPT_fopenmp)) in ConstructJob()
10446 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
10449 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
10453 if (Args.hasArg(options::OPT_mwindows)) { in ConstructJob()
10462 if (Args.hasArg(options::OPT_static)) in ConstructJob()
10468 if (!Args.hasArg(options::OPT_nostartfiles)) { in ConstructJob()
10495 if (Args.hasArg(options::OPT_v)) in ConstructJob()
10529 if (Args.hasArg(options::OPT_v)) in ConstructJob()
10606 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
10608 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
10610 if (Args.hasArg(options::OPT_s)) in ConstructJob()
10631 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
10655 CmdArgs.push_back(Args.hasArg(options::OPT_static) ? "-Bstatic" in ConstructJob()
10658 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
10672 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_rdynamic)) { in ConstructJob()
10680 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
10685 Args.hasArg(options::OPT_shared) ? "crtbeginS.obj" : "crtbegin.obj"; in ConstructJob()
10693 if (D.CCCIsCXX() && !Args.hasArg(options::OPT_nostdlib) && in ConstructJob()
10694 !Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
10695 bool StaticCXX = Args.hasArg(options::OPT_static_libstdcxx) && in ConstructJob()
10696 !Args.hasArg(options::OPT_static); in ConstructJob()
10704 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
10705 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
10714 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
10835 !Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles); in ConstructJob()
10837 !Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs); in ConstructJob()
10853 if (Args.hasArg(options::OPT_s)) // Pass the 'strip' option. in ConstructJob()
10954 if (Args.hasArg(options::OPT_pie)) in ConstructPS4LinkJob()
10957 if (Args.hasArg(options::OPT_rdynamic)) in ConstructPS4LinkJob()
10959 if (Args.hasArg(options::OPT_shared)) in ConstructPS4LinkJob()
10978 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructPS4LinkJob()
10983 if (Args.hasArg(options::OPT_pthread)) { in ConstructPS4LinkJob()
11013 if (Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
11016 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
11019 if (Args.hasArg(options::OPT_rdynamic)) in ConstructGoldLinkJob()
11022 if (Args.hasArg(options::OPT_shared)) { in ConstructGoldLinkJob()
11040 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructGoldLinkJob()
11042 if (!Args.hasArg(options::OPT_shared)) { in ConstructGoldLinkJob()
11043 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
11045 else if (Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
11056 if (Args.hasArg(options::OPT_static)) in ConstructGoldLinkJob()
11058 else if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
11074 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructGoldLinkJob()
11079 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructGoldLinkJob()
11085 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
11092 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
11096 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
11098 } else if (Args.hasArg(options::OPT_pg)) { in ConstructGoldLinkJob()
11106 if (Args.hasArg(options::OPT_pthread)) { in ConstructGoldLinkJob()
11107 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
11113 if (Args.hasArg(options::OPT_pg)) { in ConstructGoldLinkJob()
11114 if (Args.hasArg(options::OPT_shared)) in ConstructGoldLinkJob()
11117 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
11128 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
11139 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
11141 } else if (Args.hasArg(options::OPT_pg)) { in ConstructGoldLinkJob()
11150 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructGoldLinkJob()
11151 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
11189 PS4Linker = !Args.hasArg(options::OPT_shared); in ConstructJob()
11212 if (!Args.hasArg(options::OPT_no_cuda_version_check)) { in ConstructJob()