Lines Matching refs:push_back
120 Res.push_back('\\'); in EscapeSpacesAndBackslashes()
123 Res.push_back(*Arg); in EscapeSpacesAndBackslashes()
136 Res.push_back('\\'); in QuoteTarget()
139 Res.push_back('\\'); in QuoteTarget()
142 Res.push_back('$'); in QuoteTarget()
145 Res.push_back('\\'); in QuoteTarget()
151 Res.push_back(Target[i]); in QuoteTarget()
175 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + ".")); in addDirectoryList()
177 CmdArgs.push_back(ArgName); in addDirectoryList()
178 CmdArgs.push_back("."); in addDirectoryList()
182 CmdArgs.push_back( in addDirectoryList()
185 CmdArgs.push_back(ArgName); in addDirectoryList()
186 CmdArgs.push_back(Args.MakeArgString(Dirs.substr(0, Delim))); in addDirectoryList()
194 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + ".")); in addDirectoryList()
196 CmdArgs.push_back(ArgName); in addDirectoryList()
197 CmdArgs.push_back("."); in addDirectoryList()
201 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs)); in addDirectoryList()
203 CmdArgs.push_back(ArgName); in addDirectoryList()
204 CmdArgs.push_back(Args.MakeArgString(Dirs)); in addDirectoryList()
224 CmdArgs.push_back(II.getFilename()); in AddLinkerInputs()
304 CmdArgs.push_back("-dependency-file"); in AddPreprocessingOptions()
305 CmdArgs.push_back(DepFile); in AddPreprocessingOptions()
325 CmdArgs.push_back("-MT"); in AddPreprocessingOptions()
328 CmdArgs.push_back(Args.MakeArgString(Quoted)); in AddPreprocessingOptions()
333 CmdArgs.push_back("-sys-header-deps"); in AddPreprocessingOptions()
337 CmdArgs.push_back("-module-file-deps"); in AddPreprocessingOptions()
344 CmdArgs.push_back("-MG"); in AddPreprocessingOptions()
355 CmdArgs.push_back("-MT"); in AddPreprocessingOptions()
358 CmdArgs.push_back(Args.MakeArgString(Quoted)); in AddPreprocessingOptions()
410 CmdArgs.push_back("-include-pch"); in AddPreprocessingOptions()
412 CmdArgs.push_back("-include-pth"); in AddPreprocessingOptions()
413 CmdArgs.push_back(Args.MakeArgString(P)); in AddPreprocessingOptions()
450 CmdArgs.push_back("-isysroot"); in AddPreprocessingOptions()
451 CmdArgs.push_back(C.getArgs().MakeArgString(sysroot)); in AddPreprocessingOptions()
597 Features.push_back(FeatureName); in DecodeARMFeatures()
763 Features.push_back("+soft-float"); in getARMTargetFeatures()
767 Features.push_back("+soft-float-abi"); in getARMTargetFeatures()
821 Features.push_back( in getARMTargetFeatures()
851 Features.push_back("-neon"); in getARMTargetFeatures()
853 Features.push_back("-crypto"); in getARMTargetFeatures()
859 Features.push_back("+crc"); in getARMTargetFeatures()
861 Features.push_back("-crc"); in getARMTargetFeatures()
874 Features.push_back("+long-calls"); in getARMTargetFeatures()
877 Features.push_back("+long-calls"); in getARMTargetFeatures()
882 Features.push_back("+strict-align"); in getARMTargetFeatures()
890 Features.push_back("+strict-align"); in getARMTargetFeatures()
909 Features.push_back("+strict-align"); in getARMTargetFeatures()
912 Features.push_back("+strict-align"); in getARMTargetFeatures()
914 Features.push_back("+strict-align"); in getARMTargetFeatures()
921 Features.push_back("+reserve-r9"); in getARMTargetFeatures()
925 Features.push_back("+no-movt"); in getARMTargetFeatures()
967 CmdArgs.push_back("-target-abi"); in AddARMTargetArgs()
968 CmdArgs.push_back(ABIName); in AddARMTargetArgs()
975 CmdArgs.push_back("-msoft-float"); in AddARMTargetArgs()
976 CmdArgs.push_back("-mfloat-abi"); in AddARMTargetArgs()
977 CmdArgs.push_back("soft"); in AddARMTargetArgs()
980 CmdArgs.push_back("-mfloat-abi"); in AddARMTargetArgs()
981 CmdArgs.push_back("soft"); in AddARMTargetArgs()
985 CmdArgs.push_back("-mfloat-abi"); in AddARMTargetArgs()
986 CmdArgs.push_back("hard"); in AddARMTargetArgs()
992 CmdArgs.push_back("-backend-option"); in AddARMTargetArgs()
994 CmdArgs.push_back("-arm-global-merge=false"); in AddARMTargetArgs()
996 CmdArgs.push_back("-arm-global-merge=true"); in AddARMTargetArgs()
1001 CmdArgs.push_back("-no-implicit-float"); in AddARMTargetArgs()
1040 CmdArgs.push_back("-disable-red-zone"); in AddAArch64TargetArgs()
1044 CmdArgs.push_back("-no-implicit-float"); in AddAArch64TargetArgs()
1054 CmdArgs.push_back("-target-abi"); in AddAArch64TargetArgs()
1055 CmdArgs.push_back(ABIName); in AddAArch64TargetArgs()
1059 CmdArgs.push_back("-backend-option"); in AddAArch64TargetArgs()
1061 CmdArgs.push_back("-aarch64-fix-cortex-a53-835769=1"); in AddAArch64TargetArgs()
1063 CmdArgs.push_back("-aarch64-fix-cortex-a53-835769=0"); in AddAArch64TargetArgs()
1066 CmdArgs.push_back("-backend-option"); in AddAArch64TargetArgs()
1067 CmdArgs.push_back("-aarch64-fix-cortex-a53-835769=1"); in AddAArch64TargetArgs()
1073 CmdArgs.push_back("-backend-option"); in AddAArch64TargetArgs()
1075 CmdArgs.push_back("-aarch64-global-merge=false"); in AddAArch64TargetArgs()
1077 CmdArgs.push_back("-aarch64-global-merge=true"); in AddAArch64TargetArgs()
1212 Features.push_back(Args.MakeArgString("+" + FeatureName)); in AddTargetFeature()
1214 Features.push_back(Args.MakeArgString("-" + FeatureName)); in AddTargetFeature()
1234 Features.push_back("+soft-float"); in getMIPSTargetFeatures()
1241 Features.push_back("+nan2008"); in getMIPSTargetFeatures()
1243 Features.push_back("-nan2008"); in getMIPSTargetFeatures()
1248 Features.push_back("-nan2008"); in getMIPSTargetFeatures()
1250 Features.push_back("+nan2008"); in getMIPSTargetFeatures()
1276 Features.push_back(Args.MakeArgString("-fp64")); in getMIPSTargetFeatures()
1278 Features.push_back(Args.MakeArgString("+fpxx")); in getMIPSTargetFeatures()
1279 Features.push_back(Args.MakeArgString("+nooddspreg")); in getMIPSTargetFeatures()
1281 Features.push_back(Args.MakeArgString("+fp64")); in getMIPSTargetFeatures()
1283 Features.push_back(Args.MakeArgString("+fpxx")); in getMIPSTargetFeatures()
1284 Features.push_back(Args.MakeArgString("+nooddspreg")); in getMIPSTargetFeatures()
1299 CmdArgs.push_back("-target-abi"); in AddMIPSTargetArgs()
1300 CmdArgs.push_back(ABIName.data()); in AddMIPSTargetArgs()
1305 CmdArgs.push_back("-msoft-float"); in AddMIPSTargetArgs()
1306 CmdArgs.push_back("-mfloat-abi"); in AddMIPSTargetArgs()
1307 CmdArgs.push_back("soft"); in AddMIPSTargetArgs()
1311 CmdArgs.push_back("-mfloat-abi"); in AddMIPSTargetArgs()
1312 CmdArgs.push_back("hard"); in AddMIPSTargetArgs()
1317 CmdArgs.push_back("-mllvm"); in AddMIPSTargetArgs()
1318 CmdArgs.push_back("-mxgot"); in AddMIPSTargetArgs()
1325 CmdArgs.push_back("-mllvm"); in AddMIPSTargetArgs()
1326 CmdArgs.push_back("-mno-ldc1-sdc1"); in AddMIPSTargetArgs()
1333 CmdArgs.push_back("-mllvm"); in AddMIPSTargetArgs()
1334 CmdArgs.push_back("-mno-check-zero-division"); in AddMIPSTargetArgs()
1340 CmdArgs.push_back("-mllvm"); in AddMIPSTargetArgs()
1341 CmdArgs.push_back(Args.MakeArgString("-mips-ssection-threshold=" + v)); in AddMIPSTargetArgs()
1424 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getPPCTargetFeatures()
1431 Features.push_back("+soft-float"); in getPPCTargetFeatures()
1513 CmdArgs.push_back("-msoft-float"); in AddPPCTargetArgs()
1514 CmdArgs.push_back("-mfloat-abi"); in AddPPCTargetArgs()
1515 CmdArgs.push_back("soft"); in AddPPCTargetArgs()
1519 CmdArgs.push_back("-mfloat-abi"); in AddPPCTargetArgs()
1520 CmdArgs.push_back("hard"); in AddPPCTargetArgs()
1524 CmdArgs.push_back("-target-abi"); in AddPPCTargetArgs()
1525 CmdArgs.push_back(ABIName); in AddPPCTargetArgs()
1585 Features.push_back("+transactional-execution"); in getSystemZTargetFeatures()
1587 Features.push_back("-transactional-execution"); in getSystemZTargetFeatures()
1592 Features.push_back("+vector"); in getSystemZTargetFeatures()
1594 Features.push_back("-vector"); in getSystemZTargetFeatures()
1786 CmdArgs.push_back("-plugin"); in AddGoldPlugin()
1789 CmdArgs.push_back(Args.MakeArgString(Plugin)); in AddGoldPlugin()
1797 CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=mcpu=") + CPU)); in AddGoldPlugin()
1809 CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=O") + OOpt)); in AddGoldPlugin()
1813 CmdArgs.push_back("-plugin-opt=thinlto"); in AddGoldPlugin()
1862 OutStrings.push_back(Args.MakeArgString(Out + "all")); in ParseMRecip()
1874 OutStrings.push_back(Args.MakeArgString(Out + Val)); in ParseMRecip()
1944 OutStrings.push_back(Args.MakeArgString(Out)); in ParseMRecip()
1956 Features.push_back( in getX86TargetFeatures()
1964 Features.push_back("-rdrnd"); in getX86TargetFeatures()
1965 Features.push_back("-aes"); in getX86TargetFeatures()
1966 Features.push_back("-pclmul"); in getX86TargetFeatures()
1967 Features.push_back("-rtm"); in getX86TargetFeatures()
1968 Features.push_back("-hle"); in getX86TargetFeatures()
1969 Features.push_back("-fsgsbase"); in getX86TargetFeatures()
1976 Features.push_back("+sse4.2"); in getX86TargetFeatures()
1977 Features.push_back("+popcnt"); in getX86TargetFeatures()
1979 Features.push_back("+ssse3"); in getX86TargetFeatures()
1990 Features.push_back(Args.MakeArgString("+" + Arch.lower())); in getX86TargetFeatures()
1999 Features.push_back(Args.MakeArgString("+" + Arch.lower())); in getX86TargetFeatures()
2020 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getX86TargetFeatures()
2029 CmdArgs.push_back("-disable-red-zone"); in AddX86TargetArgs()
2043 CmdArgs.push_back("-no-implicit-float"); in AddX86TargetArgs()
2048 CmdArgs.push_back("-mllvm"); in AddX86TargetArgs()
2049 CmdArgs.push_back(Args.MakeArgString("-x86-asm-syntax=" + Value)); in AddX86TargetArgs()
2059 CmdArgs.push_back("-mqdsp6-compat"); in AddHexagonTargetArgs()
2060 CmdArgs.push_back("-Wreturn-type"); in AddHexagonTargetArgs()
2065 CmdArgs.push_back("-mllvm"); in AddHexagonTargetArgs()
2066 CmdArgs.push_back(Args.MakeArgString(Opt)); in AddHexagonTargetArgs()
2070 CmdArgs.push_back("-fshort-enums"); in AddHexagonTargetArgs()
2072 CmdArgs.push_back("-mllvm"); in AddHexagonTargetArgs()
2073 CmdArgs.push_back("-enable-hexagon-ieee-rnd-near"); in AddHexagonTargetArgs()
2075 CmdArgs.push_back("-mllvm"); in AddHexagonTargetArgs()
2076 CmdArgs.push_back("-machine-sink-split=0"); in AddHexagonTargetArgs()
2101 Features.push_back(result); in DecodeAArch64Features()
2118 Features.push_back("+neon"); in DecodeAArch64Mcpu()
2119 Features.push_back("+crc"); in DecodeAArch64Mcpu()
2120 Features.push_back("+crypto"); in DecodeAArch64Mcpu()
2122 Features.push_back("+neon"); in DecodeAArch64Mcpu()
2143 Features.push_back("+v8.1a"); in getAArch64ArchFeaturesFromMarch()
2145 Features.push_back("+v8.2a"); in getAArch64ArchFeaturesFromMarch()
2177 Features.push_back("+zcm"); in getAArch64MicroArchFeaturesFromMtune()
2178 Features.push_back("+zcz"); in getAArch64MicroArchFeaturesFromMtune()
2201 Features.push_back("+neon"); in getAArch64TargetFeatures()
2224 Features.push_back("-fp-armv8"); in getAArch64TargetFeatures()
2225 Features.push_back("-crypto"); in getAArch64TargetFeatures()
2226 Features.push_back("-neon"); in getAArch64TargetFeatures()
2232 Features.push_back("+crc"); in getAArch64TargetFeatures()
2234 Features.push_back("-crc"); in getAArch64TargetFeatures()
2240 Features.push_back("+strict-align"); in getAArch64TargetFeatures()
2243 Features.push_back("+reserve-x18"); in getAArch64TargetFeatures()
2265 Features.push_back(HasHVX ? "+hvx" : "-hvx"); in getHexagonTargetFeatures()
2266 Features.push_back(HasHVXD ? "+hvx-double" : "-hvx-double"); in getHexagonTargetFeatures()
2283 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getWebAssemblyTargetFeatures()
2351 CmdArgs.push_back("-target-feature"); in getTargetFeatures()
2352 CmdArgs.push_back(Name); in getTargetFeatures()
2405 CmdArgs.push_back("-fobjc-exceptions"); in addExceptionArgs()
2440 CmdArgs.push_back("-fcxx-exceptions"); in addExceptionArgs()
2447 CmdArgs.push_back("-fexceptions"); in addExceptionArgs()
2534 CmdArgs.push_back("-debug-info-kind=line-tables-only"); in RenderDebugEnablingArgs()
2537 CmdArgs.push_back("-debug-info-kind=limited"); in RenderDebugEnablingArgs()
2540 CmdArgs.push_back("-debug-info-kind=standalone"); in RenderDebugEnablingArgs()
2546 CmdArgs.push_back( in RenderDebugEnablingArgs()
2550 CmdArgs.push_back("-debugger-tuning=gdb"); in RenderDebugEnablingArgs()
2553 CmdArgs.push_back("-debugger-tuning=lldb"); in RenderDebugEnablingArgs()
2556 CmdArgs.push_back("-debugger-tuning=sce"); in RenderDebugEnablingArgs()
2568 CmdArgs.push_back("-mrelax-all"); in CollectArgsForIntegratedAssembler()
2577 CmdArgs.push_back("-mincremental-linker-compatible"); in CollectArgsForIntegratedAssembler()
2595 CmdArgs.push_back(Value.data()); in CollectArgsForIntegratedAssembler()
2608 CmdArgs.push_back("-target-feature"); in CollectArgsForIntegratedAssembler()
2609 CmdArgs.push_back("+use-tcc-in-div"); in CollectArgsForIntegratedAssembler()
2613 CmdArgs.push_back("-target-feature"); in CollectArgsForIntegratedAssembler()
2614 CmdArgs.push_back("-use-tcc-in-div"); in CollectArgsForIntegratedAssembler()
2618 CmdArgs.push_back("-target-feature"); in CollectArgsForIntegratedAssembler()
2619 CmdArgs.push_back("+soft-float"); in CollectArgsForIntegratedAssembler()
2623 CmdArgs.push_back("-target-feature"); in CollectArgsForIntegratedAssembler()
2624 CmdArgs.push_back("-soft-float"); in CollectArgsForIntegratedAssembler()
2633 CmdArgs.push_back("-msave-temp-labels"); in CollectArgsForIntegratedAssembler()
2635 CmdArgs.push_back("-massembler-fatal-warnings"); in CollectArgsForIntegratedAssembler()
2637 CmdArgs.push_back("-mnoexecstack"); in CollectArgsForIntegratedAssembler()
2645 CmdArgs.push_back(Value.data()); in CollectArgsForIntegratedAssembler()
2654 CmdArgs.push_back(Value.data()); in CollectArgsForIntegratedAssembler()
2671 CmdArgs.push_back("-compress-debug-sections"); in CollectArgsForIntegratedAssembler()
2682 CmdArgs.push_back(TC.getCompilerRTArgString(Args, "builtins")); in addClangRT()
2742 CmdArgs.push_back("-lomp"); in addOpenMPRuntime()
2745 CmdArgs.push_back("-lgomp"); in addOpenMPRuntime()
2748 CmdArgs.push_back("-liomp5"); in addOpenMPRuntime()
2761 if (!IsShared) CmdArgs.push_back("-whole-archive"); in addSanitizerRuntime()
2762 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Sanitizer, IsShared)); in addSanitizerRuntime()
2763 if (!IsShared) CmdArgs.push_back("-no-whole-archive"); in addSanitizerRuntime()
2773 CmdArgs.push_back(Args.MakeArgString("--dynamic-list=" + SanRT + ".syms")); in addSanitizerDynamicList()
2783 CmdArgs.push_back("--no-as-needed"); in linkSanitizerRuntimeDeps()
2784 CmdArgs.push_back("-lpthread"); in linkSanitizerRuntimeDeps()
2785 CmdArgs.push_back("-lrt"); in linkSanitizerRuntimeDeps()
2786 CmdArgs.push_back("-lm"); in linkSanitizerRuntimeDeps()
2789 CmdArgs.push_back("-ldl"); in linkSanitizerRuntimeDeps()
2800 SharedRuntimes.push_back("asan"); in collectSanitizerRuntimes()
2810 HelperStaticRuntimes.push_back("asan-preinit"); in collectSanitizerRuntimes()
2812 StaticRuntimes.push_back("asan"); in collectSanitizerRuntimes()
2814 StaticRuntimes.push_back("asan_cxx"); in collectSanitizerRuntimes()
2818 StaticRuntimes.push_back("dfsan"); in collectSanitizerRuntimes()
2820 StaticRuntimes.push_back("lsan"); in collectSanitizerRuntimes()
2822 StaticRuntimes.push_back("msan"); in collectSanitizerRuntimes()
2824 StaticRuntimes.push_back("msan_cxx"); in collectSanitizerRuntimes()
2827 StaticRuntimes.push_back("tsan"); in collectSanitizerRuntimes()
2829 StaticRuntimes.push_back("tsan_cxx"); in collectSanitizerRuntimes()
2832 StaticRuntimes.push_back("ubsan_standalone"); in collectSanitizerRuntimes()
2834 StaticRuntimes.push_back("ubsan_standalone_cxx"); in collectSanitizerRuntimes()
2837 StaticRuntimes.push_back("safestack"); in collectSanitizerRuntimes()
2839 StaticRuntimes.push_back("cfi"); in collectSanitizerRuntimes()
2841 StaticRuntimes.push_back("cfi_diag"); in collectSanitizerRuntimes()
2864 CmdArgs.push_back("-export-dynamic"); in addSanitizerRuntimes()
2952 CmdArgs.push_back("-fdebug-compilation-dir"); in addDebugCompDirArg()
2953 CmdArgs.push_back(Args.MakeArgString(cwd)); in addDebugCompDirArg()
2978 ExtractArgs.push_back("--extract-dwo"); in SplitDebugInfo()
2981 StripArgs.push_back("--strip-dwo"); in SplitDebugInfo()
2984 StripArgs.push_back(Output.getFilename()); in SplitDebugInfo()
2985 ExtractArgs.push_back(Output.getFilename()); in SplitDebugInfo()
2986 ExtractArgs.push_back(OutFile); in SplitDebugInfo()
3038 CmdArgs.push_back("-x"); in addDashXForInput()
3040 CmdArgs.push_back(types::getTypeName(types::TY_PP_ObjCXX)); in addDashXForInput()
3042 CmdArgs.push_back(types::getTypeName(Input.getType())); in addDashXForInput()
3181 CmdArgs.push_back( in addPGOAndCoverageFlags()
3198 CmdArgs.push_back( in addPGOAndCoverageFlags()
3205 CmdArgs.push_back("-femit-coverage-notes"); in addPGOAndCoverageFlags()
3209 CmdArgs.push_back("-femit-coverage-data"); in addPGOAndCoverageFlags()
3220 CmdArgs.push_back("-fcoverage-mapping"); in addPGOAndCoverageFlags()
3225 CmdArgs.push_back("-coverage-file"); in addPGOAndCoverageFlags()
3239 CmdArgs.push_back(Args.MakeArgString(CoverageFilename)); in addPGOAndCoverageFlags()
3258 CmdArgs.push_back("--dependent-lib=libclang_rt.profile-x86_64.a"); in addPS4ProfileRTArgs()
3421 CmdArgs.push_back("-KPIC"); in AddAssemblerKPIC()
3453 CmdArgs.push_back("-cc1"); in ConstructJob()
3456 CmdArgs.push_back("-triple"); in ConstructJob()
3457 CmdArgs.push_back(Args.MakeArgString(TripleStr)); in ConstructJob()
3472 CmdArgs.push_back("-aux-triple"); in ConstructJob()
3473 CmdArgs.push_back(Args.MakeArgString(AuxToolChain->getTriple().str())); in ConstructJob()
3474 CmdArgs.push_back("-fcuda-target-overloads"); in ConstructJob()
3475 CmdArgs.push_back("-fcuda-disable-target-call-checks"); in ConstructJob()
3498 CmdArgs.push_back("-analyze"); in ConstructJob()
3500 CmdArgs.push_back("-migrate"); in ConstructJob()
3503 CmdArgs.push_back("-Eonly"); in ConstructJob()
3505 CmdArgs.push_back("-E"); in ConstructJob()
3508 CmdArgs.push_back("-P"); in ConstructJob()
3511 CmdArgs.push_back("-emit-obj"); in ConstructJob()
3522 CmdArgs.push_back("-fsyntax-only"); in ConstructJob()
3524 CmdArgs.push_back("-emit-pch"); in ConstructJob()
3526 CmdArgs.push_back("-emit-pth"); in ConstructJob()
3528 CmdArgs.push_back("-verify-pch"); in ConstructJob()
3533 CmdArgs.push_back("-fsyntax-only"); in ConstructJob()
3536 CmdArgs.push_back("-emit-llvm"); in ConstructJob()
3539 CmdArgs.push_back("-emit-llvm-bc"); in ConstructJob()
3541 CmdArgs.push_back("-S"); in ConstructJob()
3543 CmdArgs.push_back("-emit-pch"); in ConstructJob()
3545 CmdArgs.push_back("-module-file-info"); in ConstructJob()
3547 CmdArgs.push_back("-rewrite-objc"); in ConstructJob()
3550 CmdArgs.push_back("-rewrite-objc"); in ConstructJob()
3561 CmdArgs.push_back("-emit-llvm-uselists"); in ConstructJob()
3578 CmdArgs.push_back("-disable-free"); in ConstructJob()
3582 CmdArgs.push_back("-disable-llvm-verifier"); in ConstructJob()
3587 CmdArgs.push_back("-main-file-name"); in ConstructJob()
3588 CmdArgs.push_back(getBaseInputName(Args, Input)); in ConstructJob()
3593 CmdArgs.push_back("-static-define"); in ConstructJob()
3597 CmdArgs.push_back("-analyzer-store=region"); in ConstructJob()
3600 CmdArgs.push_back("-analyzer-opt-analyze-nested-blocks"); in ConstructJob()
3602 CmdArgs.push_back("-analyzer-eagerly-assume"); in ConstructJob()
3606 CmdArgs.push_back("-analyzer-checker=core"); in ConstructJob()
3609 CmdArgs.push_back("-analyzer-checker=unix"); in ConstructJob()
3612 CmdArgs.push_back("-analyzer-checker=osx"); in ConstructJob()
3614 CmdArgs.push_back("-analyzer-checker=deadcode"); in ConstructJob()
3617 CmdArgs.push_back("-analyzer-checker=cplusplus"); in ConstructJob()
3620 CmdArgs.push_back( in ConstructJob()
3622 CmdArgs.push_back("-analyzer-checker=security.insecureAPI.getpw"); in ConstructJob()
3623 CmdArgs.push_back("-analyzer-checker=security.insecureAPI.gets"); in ConstructJob()
3624 CmdArgs.push_back("-analyzer-checker=security.insecureAPI.mktemp"); in ConstructJob()
3625 CmdArgs.push_back("-analyzer-checker=security.insecureAPI.mkstemp"); in ConstructJob()
3626 CmdArgs.push_back("-analyzer-checker=security.insecureAPI.vfork"); in ConstructJob()
3629 CmdArgs.push_back("-analyzer-checker=nullability.NullPassedToNonnull"); in ConstructJob()
3630 CmdArgs.push_back( in ConstructJob()
3636 CmdArgs.push_back("-analyzer-output"); in ConstructJob()
3638 CmdArgs.push_back(A->getValue()); in ConstructJob()
3640 CmdArgs.push_back("plist"); in ConstructJob()
3645 CmdArgs.push_back("-w"); in ConstructJob()
3661 CmdArgs.push_back("-mrelocation-model"); in ConstructJob()
3662 CmdArgs.push_back(RMName); in ConstructJob()
3665 CmdArgs.push_back("-pic-level"); in ConstructJob()
3666 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
3668 CmdArgs.push_back("-pie-level"); in ConstructJob()
3669 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
3674 CmdArgs.push_back("-meabi"); in ConstructJob()
3675 CmdArgs.push_back(A->getValue()); in ConstructJob()
3678 CmdArgs.push_back("-mthread-model"); in ConstructJob()
3680 CmdArgs.push_back(A->getValue()); in ConstructJob()
3682 CmdArgs.push_back(Args.MakeArgString(getToolChain().getThreadModel())); in ConstructJob()
3688 CmdArgs.push_back("-fno-merge-all-constants"); in ConstructJob()
3696 CmdArgs.push_back("-frewrite-map-file"); in ConstructJob()
3697 CmdArgs.push_back(A->getValue()); in ConstructJob()
3704 CmdArgs.push_back("-mllvm"); in ConstructJob()
3705 CmdArgs.push_back(Args.MakeArgString("-warn-stack-size=" + v)); in ConstructJob()
3710 CmdArgs.push_back("-mregparm"); in ConstructJob()
3711 CmdArgs.push_back(A->getValue()); in ConstructJob()
3720 CmdArgs.push_back("-fpcc-struct-return"); in ConstructJob()
3723 CmdArgs.push_back("-freg-struct-return"); in ConstructJob()
3728 CmdArgs.push_back("-mrtd"); in ConstructJob()
3731 CmdArgs.push_back("-mdisable-fp-elim"); in ConstructJob()
3734 CmdArgs.push_back("-mno-zero-initialized-in-bss"); in ConstructJob()
3746 CmdArgs.push_back("-relaxed-aliasing"); in ConstructJob()
3749 CmdArgs.push_back("-no-struct-path-tbaa"); in ConstructJob()
3752 CmdArgs.push_back("-fstrict-enums"); in ConstructJob()
3756 CmdArgs.push_back("-fstrict-vtable-pointers"); in ConstructJob()
3759 CmdArgs.push_back("-mdisable-tail-calls"); in ConstructJob()
3763 CmdArgs.push_back("-split-stacks"); in ConstructJob()
3783 CmdArgs.push_back("-menable-no-infs"); in ConstructJob()
3792 CmdArgs.push_back("-menable-no-nans"); in ConstructJob()
3811 CmdArgs.push_back("-fmath-errno"); in ConstructJob()
3859 CmdArgs.push_back("-menable-unsafe-fp-math"); in ConstructJob()
3862 CmdArgs.push_back("-fno-signed-zeros"); in ConstructJob()
3865 CmdArgs.push_back("-freciprocal-math"); in ConstructJob()
3874 CmdArgs.push_back(Args.MakeArgString("-ffp-contract=" + Val)); in ConstructJob()
3882 CmdArgs.push_back(Args.MakeArgString("-ffp-contract=fast")); in ConstructJob()
3896 CmdArgs.push_back("-ffast-math"); in ConstructJob()
3900 CmdArgs.push_back("-ffinite-math-only"); in ConstructJob()
3909 CmdArgs.push_back("-masm-verbose"); in ConstructJob()
3913 CmdArgs.push_back("-no-integrated-as"); in ConstructJob()
3916 CmdArgs.push_back("-mdebug-pass"); in ConstructJob()
3917 CmdArgs.push_back("Structure"); in ConstructJob()
3920 CmdArgs.push_back("-mdebug-pass"); in ConstructJob()
3921 CmdArgs.push_back("Arguments"); in ConstructJob()
3927 CmdArgs.push_back("-mconstructor-aliases"); in ConstructJob()
3932 CmdArgs.push_back("-fforbid-guard-variables"); in ConstructJob()
3936 CmdArgs.push_back("-mms-bitfields"); in ConstructJob()
3950 CmdArgs.push_back("-munwind-tables"); in ConstructJob()
3955 CmdArgs.push_back("-mlimit-float-precision"); in ConstructJob()
3956 CmdArgs.push_back(A->getValue()); in ConstructJob()
3963 CmdArgs.push_back("-mcode-model"); in ConstructJob()
3964 CmdArgs.push_back(A->getValue()); in ConstructJob()
3970 CmdArgs.push_back("-target-cpu"); in ConstructJob()
3971 CmdArgs.push_back(Args.MakeArgString(CPU)); in ConstructJob()
3975 CmdArgs.push_back("-mfpmath"); in ConstructJob()
3976 CmdArgs.push_back(A->getValue()); in ConstructJob()
4051 CmdArgs.push_back("-target-linker-version"); in ConstructJob()
4052 CmdArgs.push_back(A->getValue()); in ConstructJob()
4056 CmdArgs.push_back("-momit-leaf-frame-pointer"); in ConstructJob()
4075 CmdArgs.push_back("-header-include-file"); in ConstructJob()
4076 CmdArgs.push_back(D.CCPrintHeadersFilename ? D.CCPrintHeadersFilename in ConstructJob()
4083 CmdArgs.push_back("-diagnostic-log-file"); in ConstructJob()
4084 CmdArgs.push_back(D.CCLogDiagnosticsFilename ? D.CCLogDiagnosticsFilename in ConstructJob()
4125 CmdArgs.push_back("-gcodeview"); in ConstructJob()
4137 CmdArgs.push_back("-dwarf-column-info"); in ConstructJob()
4142 CmdArgs.push_back("-dwarf-ext-refs"); in ConstructJob()
4143 CmdArgs.push_back("-fmodule-format=obj"); in ConstructJob()
4151 CmdArgs.push_back("-backend-option"); in ConstructJob()
4152 CmdArgs.push_back("-split-dwarf=Enable"); in ConstructJob()
4170 CmdArgs.push_back("-backend-option"); in ConstructJob()
4171 CmdArgs.push_back("-generate-gnu-dwarf-pub-sections"); in ConstructJob()
4178 CmdArgs.push_back("-backend-option"); in ConstructJob()
4179 CmdArgs.push_back("-generate-arange-section"); in ConstructJob()
4184 CmdArgs.push_back("-backend-option"); in ConstructJob()
4185 CmdArgs.push_back("-generate-type-units"); in ConstructJob()
4193 CmdArgs.push_back("-ffunction-sections"); in ConstructJob()
4198 CmdArgs.push_back("-fdata-sections"); in ConstructJob()
4203 CmdArgs.push_back("-fno-unique-section-names"); in ConstructJob()
4215 CmdArgs.push_back("-nostdsysteminc"); in ConstructJob()
4216 CmdArgs.push_back("-nobuiltininc"); in ConstructJob()
4219 CmdArgs.push_back("-nostdsysteminc"); in ConstructJob()
4225 CmdArgs.push_back("-resource-dir"); in ConstructJob()
4226 CmdArgs.push_back(D.ResourceDir.c_str()); in ConstructJob()
4240 CmdArgs.push_back("-arcmt-check"); in ConstructJob()
4243 CmdArgs.push_back("-arcmt-modify"); in ConstructJob()
4246 CmdArgs.push_back("-arcmt-migrate"); in ConstructJob()
4247 CmdArgs.push_back("-mt-migrate-directory"); in ConstructJob()
4248 CmdArgs.push_back(A->getValue()); in ConstructJob()
4266 CmdArgs.push_back("-mt-migrate-directory"); in ConstructJob()
4267 CmdArgs.push_back(A->getValue()); in ConstructJob()
4273 CmdArgs.push_back("-objcmt-migrate-literals"); in ConstructJob()
4274 CmdArgs.push_back("-objcmt-migrate-subscripting"); in ConstructJob()
4275 CmdArgs.push_back("-objcmt-migrate-property"); in ConstructJob()
4317 CmdArgs.push_back("-O3"); in ConstructJob()
4336 CmdArgs.push_back("-pedantic"); in ConstructJob()
4349 CmdArgs.push_back("-std=c++98"); in ConstructJob()
4351 CmdArgs.push_back("-std=c89"); in ConstructJob()
4395 CmdArgs.push_back("-fconst-strings"); in ConstructJob()
4404 CmdArgs.push_back("-fdeprecated-macro"); in ConstructJob()
4410 CmdArgs.push_back("-fgnu-keywords"); in ConstructJob()
4412 CmdArgs.push_back("-fno-gnu-keywords"); in ConstructJob()
4416 CmdArgs.push_back("-fno-dwarf-directory-asm"); in ConstructJob()
4419 CmdArgs.push_back("-fno-autolink"); in ConstructJob()
4429 CmdArgs.push_back(Args.MakeArgString("-fdebug-prefix-map=" + Map)); in ConstructJob()
4435 CmdArgs.push_back("-ftemplate-depth"); in ConstructJob()
4436 CmdArgs.push_back(A->getValue()); in ConstructJob()
4440 CmdArgs.push_back("-foperator-arrow-depth"); in ConstructJob()
4441 CmdArgs.push_back(A->getValue()); in ConstructJob()
4445 CmdArgs.push_back("-fconstexpr-depth"); in ConstructJob()
4446 CmdArgs.push_back(A->getValue()); in ConstructJob()
4450 CmdArgs.push_back("-fconstexpr-steps"); in ConstructJob()
4451 CmdArgs.push_back(A->getValue()); in ConstructJob()
4455 CmdArgs.push_back("-fbracket-depth"); in ConstructJob()
4456 CmdArgs.push_back(A->getValue()); in ConstructJob()
4463 CmdArgs.push_back(Args.MakeArgString("-Wlarge-by-value-copy=" + bytes)); in ConstructJob()
4465 CmdArgs.push_back("-Wlarge-by-value-copy=64"); // default value in ConstructJob()
4469 CmdArgs.push_back("-relocatable-pch"); in ConstructJob()
4472 CmdArgs.push_back("-fconstant-string-class"); in ConstructJob()
4473 CmdArgs.push_back(A->getValue()); in ConstructJob()
4477 CmdArgs.push_back("-ftabstop"); in ConstructJob()
4478 CmdArgs.push_back(A->getValue()); in ConstructJob()
4481 CmdArgs.push_back("-ferror-limit"); in ConstructJob()
4483 CmdArgs.push_back(A->getValue()); in ConstructJob()
4485 CmdArgs.push_back("19"); in ConstructJob()
4488 CmdArgs.push_back("-fmacro-backtrace-limit"); in ConstructJob()
4489 CmdArgs.push_back(A->getValue()); in ConstructJob()
4493 CmdArgs.push_back("-ftemplate-backtrace-limit"); in ConstructJob()
4494 CmdArgs.push_back(A->getValue()); in ConstructJob()
4498 CmdArgs.push_back("-fconstexpr-backtrace-limit"); in ConstructJob()
4499 CmdArgs.push_back(A->getValue()); in ConstructJob()
4503 CmdArgs.push_back("-fspell-checking-limit"); in ConstructJob()
4504 CmdArgs.push_back(A->getValue()); in ConstructJob()
4508 CmdArgs.push_back("-fmessage-length"); in ConstructJob()
4510 CmdArgs.push_back(A->getValue()); in ConstructJob()
4515 CmdArgs.push_back(Args.MakeArgString(Twine(N))); in ConstructJob()
4522 CmdArgs.push_back("-fvisibility"); in ConstructJob()
4523 CmdArgs.push_back(A->getValue()); in ConstructJob()
4526 CmdArgs.push_back("-fvisibility"); in ConstructJob()
4527 CmdArgs.push_back("hidden"); in ConstructJob()
4528 CmdArgs.push_back("-ftype-visibility"); in ConstructJob()
4529 CmdArgs.push_back("default"); in ConstructJob()
4540 CmdArgs.push_back("-ffreestanding"); in ConstructJob()
4551 CmdArgs.push_back("-femulated-tls"); in ConstructJob()
4567 CmdArgs.push_back("-fopenmp"); in ConstructJob()
4574 CmdArgs.push_back("-fnoopenmp-use-tls"); in ConstructJob()
4610 CmdArgs.push_back("-fno-lax-vector-conversions"); in ConstructJob()
4614 CmdArgs.push_back("-fapple-kext"); in ConstructJob()
4623 CmdArgs.push_back("-ftrapv-handler"); in ConstructJob()
4624 CmdArgs.push_back(A->getValue()); in ConstructJob()
4633 CmdArgs.push_back("-fwrapv"); in ConstructJob()
4637 CmdArgs.push_back("-fwrapv"); in ConstructJob()
4643 CmdArgs.push_back("-freroll-loops"); in ConstructJob()
4675 CmdArgs.push_back("-stack-protector"); in ConstructJob()
4676 CmdArgs.push_back(Args.MakeArgString(Twine(StackProtectorLevel))); in ConstructJob()
4684 CmdArgs.push_back("-stack-protector-buffer-size"); in ConstructJob()
4686 CmdArgs.push_back(Args.MakeArgString(Str.drop_front(16))); in ConstructJob()
4695 CmdArgs.push_back(Args.MakeArgString("-mstackrealign")); in ConstructJob()
4699 CmdArgs.push_back(Args.MakeArgString("-mstack-alignment=" + alignment)); in ConstructJob()
4706 CmdArgs.push_back(Args.MakeArgString("-mstack-probe-size=" + Size)); in ConstructJob()
4708 CmdArgs.push_back("-mstack-probe-size=0"); in ConstructJob()
4718 CmdArgs.push_back("-fallow-half-arguments-and-returns"); in ConstructJob()
4728 CmdArgs.push_back("-backend-option"); in ConstructJob()
4729 CmdArgs.push_back("-arm-restrict-it"); in ConstructJob()
4731 CmdArgs.push_back("-backend-option"); in ConstructJob()
4732 CmdArgs.push_back("-arm-no-restrict-it"); in ConstructJob()
4738 CmdArgs.push_back("-backend-option"); in ConstructJob()
4739 CmdArgs.push_back("-arm-restrict-it"); in ConstructJob()
4755 CmdArgs.push_back("-fno-builtin"); in ConstructJob()
4759 CmdArgs.push_back("-fno-assume-sane-operator-new"); in ConstructJob()
4767 CmdArgs.push_back("-fblocks"); in ConstructJob()
4771 CmdArgs.push_back("-fblocks-runtime-optional"); in ConstructJob()
4782 CmdArgs.push_back("-fmodules"); in ConstructJob()
4791 CmdArgs.push_back("-fimplicit-module-maps"); in ConstructJob()
4798 CmdArgs.push_back("-fmodules-decluse"); in ConstructJob()
4805 CmdArgs.push_back("-fmodules-strict-decluse"); in ConstructJob()
4811 CmdArgs.push_back("-fno-implicit-modules"); in ConstructJob()
4849 CmdArgs.push_back(Args.MakeArgString(Path)); in ConstructJob()
4861 CmdArgs.push_back("-module-dependency-dir"); in ConstructJob()
4862 CmdArgs.push_back(Args.MakeArgString(VFSDir)); in ConstructJob()
4883 CmdArgs.push_back(Args.MakeArgString( in ConstructJob()
4902 CmdArgs.push_back("-fno-access-control"); in ConstructJob()
4907 CmdArgs.push_back("-fno-elide-constructors"); in ConstructJob()
4914 CmdArgs.push_back("-fno-rtti"); in ConstructJob()
4919 CmdArgs.push_back("-fshort-enums"); in ConstructJob()
4927 CmdArgs.push_back("-fno-signed-char"); in ConstructJob()
4930 CmdArgs.push_back("-fno-signed-char"); in ConstructJob()
4944 CmdArgs.push_back("-fno-use-cxa-atexit"); in ConstructJob()
4949 CmdArgs.push_back("-fms-extensions"); in ConstructJob()
4954 CmdArgs.push_back("-fuse-line-directives"); in ConstructJob()
4962 CmdArgs.push_back("-fms-compatibility"); in ConstructJob()
4968 CmdArgs.push_back( in ConstructJob()
4974 CmdArgs.push_back("-std=c++14"); in ConstructJob()
4976 CmdArgs.push_back("-std=c++11"); in ConstructJob()
4982 CmdArgs.push_back("-fborland-extensions"); in ConstructJob()
4987 CmdArgs.push_back("-fdeclspec"); in ConstructJob()
4989 CmdArgs.push_back("-fno-declspec"); // Explicitly disabling __declspec. in ConstructJob()
4996 CmdArgs.push_back("-fno-threadsafe-statics"); in ConstructJob()
5002 CmdArgs.push_back("-fdelayed-template-parsing"); in ConstructJob()
5012 CmdArgs.push_back("-fgnu89-inline"); in ConstructJob()
5015 CmdArgs.push_back("-fno-inline"); in ConstructJob()
5018 CmdArgs.push_back("-fno-inline-functions"); in ConstructJob()
5032 CmdArgs.push_back("-fobjc-dispatch-method=mixed"); in ConstructJob()
5034 CmdArgs.push_back("-fobjc-dispatch-method=non-legacy"); in ConstructJob()
5046 CmdArgs.push_back("-fobjc-subscripting-legacy-runtime"); in ConstructJob()
5050 CmdArgs.push_back("-fencode-extended-block-signature"); in ConstructJob()
5059 CmdArgs.push_back("-fobjc-arc"); in ConstructJob()
5066 CmdArgs.push_back("-fobjc-arc-cxxlib=libc++"); in ConstructJob()
5068 CmdArgs.push_back("-fobjc-arc-cxxlib=libstdc++"); in ConstructJob()
5076 CmdArgs.push_back("-fobjc-arc-exceptions"); in ConstructJob()
5083 CmdArgs.push_back("-fno-objc-infer-related-result-type"); in ConstructJob()
5120 CmdArgs.push_back("-fapplication-extension"); in ConstructJob()
5128 CmdArgs.push_back("-fsjlj-exceptions"); in ConstructJob()
5133 CmdArgs.push_back("-fno-assume-sane-operator-new"); in ConstructJob()
5139 CmdArgs.push_back("-fsized-deallocation"); in ConstructJob()
5147 CmdArgs.push_back("-fno-constant-cfstrings"); in ConstructJob()
5158 CmdArgs.push_back("-fpascal-strings"); in ConstructJob()
5165 CmdArgs.push_back(Args.MakeArgString(PackStructStr)); in ConstructJob()
5168 CmdArgs.push_back("-fpack-struct=1"); in ConstructJob()
5177 CmdArgs.push_back(Args.MakeArgString(MaxTypeAlignStr)); in ConstructJob()
5182 CmdArgs.push_back(Args.MakeArgString(MaxTypeAlignStr)); in ConstructJob()
5191 CmdArgs.push_back("-fno-common"); in ConstructJob()
5224 CmdArgs.push_back("-fno-caret-diagnostics"); in ConstructJob()
5229 CmdArgs.push_back("-fno-diagnostics-fixit-info"); in ConstructJob()
5234 CmdArgs.push_back("-fdiagnostics-show-option"); in ConstructJob()
5238 CmdArgs.push_back("-fdiagnostics-show-category"); in ConstructJob()
5239 CmdArgs.push_back(A->getValue()); in ConstructJob()
5243 CmdArgs.push_back("-fdiagnostics-format"); in ConstructJob()
5244 CmdArgs.push_back(A->getValue()); in ConstructJob()
5252 CmdArgs.push_back("-fdiagnostics-show-note-include-stack"); in ConstructJob()
5254 CmdArgs.push_back("-fno-diagnostics-show-note-include-stack"); in ConstructJob()
5294 CmdArgs.push_back("-fcolor-diagnostics"); in ConstructJob()
5297 CmdArgs.push_back("-fansi-escape-codes"); in ConstructJob()
5301 CmdArgs.push_back("-fno-show-source-location"); in ConstructJob()
5305 CmdArgs.push_back("-fno-show-column"); in ConstructJob()
5309 CmdArgs.push_back("-fno-spell-checking"); in ConstructJob()
5314 CmdArgs.push_back("-fasm-blocks"); in ConstructJob()
5319 CmdArgs.push_back("-fno-gnu-inline-asm"); in ConstructJob()
5329 CmdArgs.push_back("-vectorize-loops"); in ConstructJob()
5337 CmdArgs.push_back("-vectorize-slp"); in ConstructJob()
5342 CmdArgs.push_back("-vectorize-slp-aggressive"); in ConstructJob()
5352 CmdArgs.push_back("-fdollars-in-identifiers"); in ConstructJob()
5354 CmdArgs.push_back("-fno-dollars-in-identifiers"); in ConstructJob()
5367 CmdArgs.push_back("-fapple-pragma-pack"); in ConstructJob()
5373 CmdArgs.push_back("-fno-math-builtin"); in ConstructJob()
5384 CmdArgs.push_back("-fno-builtin-strcat"); in ConstructJob()
5386 CmdArgs.push_back("-fno-builtin-strcpy"); in ConstructJob()
5397 CmdArgs.push_back("-frewrite-includes"); in ConstructJob()
5403 CmdArgs.push_back("-traditional-cpp"); in ConstructJob()
5413 CmdArgs.push_back("-serialize-diagnostic-file"); in ConstructJob()
5414 CmdArgs.push_back(Args.MakeArgString(A->getValue())); in ConstructJob()
5418 CmdArgs.push_back("-fretain-comments-from-system-headers"); in ConstructJob()
5427 CmdArgs.push_back("-load"); in ConstructJob()
5428 CmdArgs.push_back(A->getValue()); in ConstructJob()
5441 CmdArgs.push_back("-disable-llvm-optzns"); in ConstructJob()
5450 CmdArgs.push_back("-disable-llvm-passes"); in ConstructJob()
5455 CmdArgs.push_back("-o"); in ConstructJob()
5456 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
5464 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
5487 CmdArgs.push_back("-dwarf-debug-flags"); in ConstructJob()
5488 CmdArgs.push_back(Args.MakeArgString(Flags)); in ConstructJob()
5498 CmdArgs.push_back("-split-dwarf-file"); in ConstructJob()
5500 CmdArgs.push_back(SplitDwarfOut); in ConstructJob()
5507 CmdArgs.push_back("-fcuda-include-gpubinary"); in ConstructJob()
5508 CmdArgs.push_back(I->getFilename()); in ConstructJob()
5669 cmdArgs.push_back( in AddObjCRuntimeArgs()
5742 CmdArgs.push_back("-D_DEBUG"); in AddClangCLArgs()
5743 CmdArgs.push_back("-D_MT"); in AddClangCLArgs()
5744 CmdArgs.push_back("-D_DLL"); in AddClangCLArgs()
5748 CmdArgs.push_back("-D_DEBUG"); in AddClangCLArgs()
5749 CmdArgs.push_back("-D_MT"); in AddClangCLArgs()
5750 CmdArgs.push_back("-D_DLL"); in AddClangCLArgs()
5755 CmdArgs.push_back("-D_DEBUG"); in AddClangCLArgs()
5756 CmdArgs.push_back("-D_MT"); in AddClangCLArgs()
5760 CmdArgs.push_back("-D_DEBUG"); in AddClangCLArgs()
5761 CmdArgs.push_back("-D_MT"); in AddClangCLArgs()
5769 CmdArgs.push_back("-D_VC_NODEFAULTLIB"); in AddClangCLArgs()
5771 CmdArgs.push_back(FlagForCRT.data()); in AddClangCLArgs()
5776 CmdArgs.push_back("--dependent-lib=oldnames"); in AddClangCLArgs()
5788 CmdArgs.push_back("-fno-rtti-data"); in AddClangCLArgs()
5798 CmdArgs.push_back("-gcodeview"); in AddClangCLArgs()
5804 CmdArgs.push_back("-fcxx-exceptions"); in AddClangCLArgs()
5805 CmdArgs.push_back("-fexceptions"); in AddClangCLArgs()
5810 CmdArgs.push_back("-E"); in AddClangCLArgs()
5811 CmdArgs.push_back("-P"); in AddClangCLArgs()
5825 CmdArgs.push_back("-fms-volatile"); in AddClangCLArgs()
5846 CmdArgs.push_back("-fms-memptr-rep=single"); in AddClangCLArgs()
5848 CmdArgs.push_back("-fms-memptr-rep=multiple"); in AddClangCLArgs()
5850 CmdArgs.push_back("-fms-memptr-rep=virtual"); in AddClangCLArgs()
5857 CmdArgs.push_back("-fdiagnostics-format"); in AddClangCLArgs()
5859 CmdArgs.push_back("msvc-fallback"); in AddClangCLArgs()
5861 CmdArgs.push_back("msvc"); in AddClangCLArgs()
5878 CmdArgs.push_back("-target-abi"); in AddMIPSTargetArgs()
5879 CmdArgs.push_back(ABIName.data()); in AddMIPSTargetArgs()
5905 CmdArgs.push_back("-cc1as"); in ConstructJob()
5908 CmdArgs.push_back("-triple"); in ConstructJob()
5909 CmdArgs.push_back(Args.MakeArgString(TripleStr)); in ConstructJob()
5913 CmdArgs.push_back("-filetype"); in ConstructJob()
5914 CmdArgs.push_back("obj"); in ConstructJob()
5918 CmdArgs.push_back("-main-file-name"); in ConstructJob()
5919 CmdArgs.push_back(Clang::getBaseInputName(Args, Input)); in ConstructJob()
5924 CmdArgs.push_back("-target-cpu"); in ConstructJob()
5925 CmdArgs.push_back(Args.MakeArgString(CPU)); in ConstructJob()
5969 CmdArgs.push_back("-dwarf-debug-producer"); in ConstructJob()
5970 CmdArgs.push_back(Args.MakeArgString(getClangFullVersion())); in ConstructJob()
5986 CmdArgs.push_back("-mrelocation-model"); in ConstructJob()
5987 CmdArgs.push_back(RMName); in ConstructJob()
6006 CmdArgs.push_back("-dwarf-debug-flags"); in ConstructJob()
6007 CmdArgs.push_back(Args.MakeArgString(Flags)); in ConstructJob()
6039 CmdArgs.push_back("-o"); in ConstructJob()
6040 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6043 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
6091 CmdArgs.push_back("-arch"); in ConstructJob()
6092 CmdArgs.push_back( in ConstructJob()
6106 CmdArgs.push_back("-m32"); in ConstructJob()
6111 CmdArgs.push_back("-m64"); in ConstructJob()
6114 CmdArgs.push_back("-EL"); in ConstructJob()
6119 CmdArgs.push_back("-o"); in ConstructJob()
6120 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6123 CmdArgs.push_back("-fsyntax-only"); in ConstructJob()
6148 CmdArgs.push_back("-x"); in ConstructJob()
6149 CmdArgs.push_back(types::getTypeName(II.getType())); in ConstructJob()
6153 CmdArgs.push_back(II.getFilename()); in ConstructJob()
6159 CmdArgs.push_back("-lstdc++"); in ConstructJob()
6183 CmdArgs.push_back("-E"); in RenderExtraToolArgs()
6196 CmdArgs.push_back("-c"); in RenderExtraToolArgs()
6199 CmdArgs.push_back("-S"); in RenderExtraToolArgs()
6202 CmdArgs.push_back("-fsyntax-only"); in RenderExtraToolArgs()
6231 CmdArgs.push_back(Args.MakeArgString(MArchString)); in ConstructJob()
6238 CmdArgs.push_back("-filetype=obj"); in ConstructJob()
6239 CmdArgs.push_back(Args.MakeArgString(MCpuString)); in ConstructJob()
6242 CmdArgs.push_back("-o"); in ConstructJob()
6243 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6246 CmdArgs.push_back("-fsyntax-only"); in ConstructJob()
6251 CmdArgs.push_back(Args.MakeArgString(std::string("-gpsize=") + N)); in ConstructJob()
6277 CmdArgs.push_back(II.getFilename()); in ConstructJob()
6326 CmdArgs.push_back("-s"); in constructHexagonLinkArgs()
6329 CmdArgs.push_back("-r"); in constructHexagonLinkArgs()
6332 CmdArgs.push_back(Opt.c_str()); in constructHexagonLinkArgs()
6334 CmdArgs.push_back("-march=hexagon"); in constructHexagonLinkArgs()
6338 CmdArgs.push_back(Args.MakeArgString(MCpuString)); in constructHexagonLinkArgs()
6341 CmdArgs.push_back("-shared"); in constructHexagonLinkArgs()
6343 CmdArgs.push_back("-call_shared"); in constructHexagonLinkArgs()
6347 CmdArgs.push_back("-static"); in constructHexagonLinkArgs()
6350 CmdArgs.push_back("-pie"); in constructHexagonLinkArgs()
6354 CmdArgs.push_back(Args.MakeArgString(std::string("-G") + N)); in constructHexagonLinkArgs()
6361 CmdArgs.push_back("-o"); in constructHexagonLinkArgs()
6362 CmdArgs.push_back(Output.getFilename()); in constructHexagonLinkArgs()
6376 OsLibs.push_back("standalone"); in constructHexagonLinkArgs()
6403 CmdArgs.push_back(Args.MakeArgString(Crt0SA)); in constructHexagonLinkArgs()
6406 CmdArgs.push_back(Args.MakeArgString(Crt0)); in constructHexagonLinkArgs()
6411 CmdArgs.push_back(Args.MakeArgString(Init)); in constructHexagonLinkArgs()
6419 CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath)); in constructHexagonLinkArgs()
6436 CmdArgs.push_back("-lm"); in constructHexagonLinkArgs()
6439 CmdArgs.push_back("--start-group"); in constructHexagonLinkArgs()
6443 CmdArgs.push_back(Args.MakeArgString("-l" + Lib)); in constructHexagonLinkArgs()
6444 CmdArgs.push_back("-lc"); in constructHexagonLinkArgs()
6446 CmdArgs.push_back("-lgcc"); in constructHexagonLinkArgs()
6448 CmdArgs.push_back("--end-group"); in constructHexagonLinkArgs()
6458 CmdArgs.push_back(Args.MakeArgString(Fini)); in constructHexagonLinkArgs()
6487 CmdArgs.push_back("-flavor"); in ConstructJob()
6488 CmdArgs.push_back("old-gnu"); in ConstructJob()
6489 CmdArgs.push_back("-target"); in ConstructJob()
6490 CmdArgs.push_back(Args.MakeArgString(getToolChain().getTripleString())); in ConstructJob()
6492 CmdArgs.push_back("-o"); in ConstructJob()
6493 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6517 CmdArgs.push_back("-flavor"); in ConstructJob()
6518 CmdArgs.push_back("ld"); in ConstructJob()
6520 CmdArgs.push_back("-o"); in ConstructJob()
6521 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6614 CmdArgs.push_back("--be8"); in appendEBLinkFlags()
6794 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
6797 CmdArgs.push_back("-Bstatic"); in ConstructJob()
6798 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
6799 CmdArgs.push_back("--gc-sections"); in ConstructJob()
6802 CmdArgs.push_back("-o"); in ConstructJob()
6803 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6809 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt0.o"))); in ConstructJob()
6810 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtbegin.o"))); in ConstructJob()
6827 CmdArgs.push_back("-lc"); in ConstructJob()
6828 CmdArgs.push_back("-lcompiler_rt"); in ConstructJob()
6832 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o"))); in ConstructJob()
6863 CmdArgs.push_back("-Q"); in ConstructJob()
6870 CmdArgs.push_back("--gstabs"); in ConstructJob()
6872 CmdArgs.push_back("-g"); in ConstructJob()
6882 CmdArgs.push_back("-force_cpusubtype_ALL"); in ConstructJob()
6889 CmdArgs.push_back("-static"); in ConstructJob()
6894 CmdArgs.push_back("-o"); in ConstructJob()
6895 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
6898 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
6913 CmdArgs.push_back("-arch"); in AddMachOArch()
6914 CmdArgs.push_back(Args.MakeArgString(ArchName)); in AddMachOArch()
6918 CmdArgs.push_back("-force_cpusubtype_ALL"); in AddMachOArch()
6950 CmdArgs.push_back("-demangle"); in AddLinkArgs()
6953 CmdArgs.push_back("-export_dynamic"); in AddLinkArgs()
6959 CmdArgs.push_back("-application_extension"); in AddLinkArgs()
6969 CmdArgs.push_back("-object_path_lto"); in AddLinkArgs()
6970 CmdArgs.push_back(TmpPath); in AddLinkArgs()
6983 CmdArgs.push_back("-lto_library"); in AddLinkArgs()
6984 CmdArgs.push_back(C.getArgs().MakeArgString(LibLTOPath)); in AddLinkArgs()
6994 CmdArgs.push_back("-dynamic"); in AddLinkArgs()
7020 CmdArgs.push_back("-dylib"); in AddLinkArgs()
7073 CmdArgs.push_back("-pie"); in AddLinkArgs()
7075 CmdArgs.push_back("-no_pie"); in AddLinkArgs()
7099 CmdArgs.push_back("-syslibroot"); in AddLinkArgs()
7100 CmdArgs.push_back(C.getArgs().MakeArgString(sysroot)); in AddLinkArgs()
7102 CmdArgs.push_back("-syslibroot"); in AddLinkArgs()
7103 CmdArgs.push_back(A->getValue()); in AddLinkArgs()
7154 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7173 CmdArgs.push_back("-ObjC"); in ConstructJob()
7175 CmdArgs.push_back("-o"); in ConstructJob()
7176 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7207 InputFileList.push_back(II.getFilename()); in ConstructJob()
7218 CmdArgs.push_back("-framework"); in ConstructJob()
7219 CmdArgs.push_back("Foundation"); in ConstructJob()
7221 CmdArgs.push_back("-lobjc"); in ConstructJob()
7225 CmdArgs.push_back("-arch_multiple"); in ConstructJob()
7226 CmdArgs.push_back("-final_output"); in ConstructJob()
7227 CmdArgs.push_back(LinkingOutput); in ConstructJob()
7231 CmdArgs.push_back("-allow_stack_execute"); in ConstructJob()
7254 CmdArgs.push_back(Args.MakeArgString(std::string("-F") + A->getValue())); in ConstructJob()
7259 CmdArgs.push_back("-framework"); in ConstructJob()
7260 CmdArgs.push_back("Accelerate"); in ConstructJob()
7279 CmdArgs.push_back("-create"); in ConstructJob()
7282 CmdArgs.push_back("-output"); in ConstructJob()
7283 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7287 CmdArgs.push_back(II.getFilename()); in ConstructJob()
7301 CmdArgs.push_back("-o"); in ConstructJob()
7302 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7307 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
7320 CmdArgs.push_back("--verify"); in ConstructJob()
7321 CmdArgs.push_back("--debug-info"); in ConstructJob()
7322 CmdArgs.push_back("--eh-frame"); in ConstructJob()
7323 CmdArgs.push_back("--quiet"); in ConstructJob()
7330 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
7347 CmdArgs.push_back("-o"); in ConstructJob()
7348 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7351 CmdArgs.push_back(II.getFilename()); in ConstructJob()
7365 CmdArgs.push_back("-C"); in ConstructJob()
7368 CmdArgs.push_back("-e"); in ConstructJob()
7369 CmdArgs.push_back("_start"); in ConstructJob()
7373 CmdArgs.push_back("-Bstatic"); in ConstructJob()
7374 CmdArgs.push_back("-dn"); in ConstructJob()
7376 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
7378 CmdArgs.push_back("-shared"); in ConstructJob()
7380 CmdArgs.push_back("--dynamic-linker"); in ConstructJob()
7381 CmdArgs.push_back( in ConstructJob()
7387 CmdArgs.push_back("-o"); in ConstructJob()
7388 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7395 CmdArgs.push_back( in ConstructJob()
7398 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o"))); in ConstructJob()
7399 CmdArgs.push_back( in ConstructJob()
7401 CmdArgs.push_back( in ConstructJob()
7415 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
7416 CmdArgs.push_back("-lc"); in ConstructJob()
7418 CmdArgs.push_back("-lgcc"); in ConstructJob()
7419 CmdArgs.push_back("-lm"); in ConstructJob()
7424 CmdArgs.push_back( in ConstructJob()
7427 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o"))); in ConstructJob()
7447 CmdArgs.push_back("--32"); in ConstructJob()
7451 CmdArgs.push_back("-mppc"); in ConstructJob()
7452 CmdArgs.push_back("-many"); in ConstructJob()
7457 CmdArgs.push_back("-32"); in ConstructJob()
7459 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
7465 CmdArgs.push_back("-64"); in ConstructJob()
7467 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
7478 CmdArgs.push_back("-mabi"); in ConstructJob()
7479 CmdArgs.push_back(getGnuCompatibleMipsABIName(ABIName).data()); in ConstructJob()
7482 CmdArgs.push_back("-EB"); in ConstructJob()
7484 CmdArgs.push_back("-EL"); in ConstructJob()
7496 CmdArgs.push_back("-o"); in ConstructJob()
7497 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7500 CmdArgs.push_back(II.getFilename()); in ConstructJob()
7523 CmdArgs.push_back("-EB"); in ConstructJob()
7525 CmdArgs.push_back("-EL"); in ConstructJob()
7528 CmdArgs.push_back("-e"); in ConstructJob()
7529 CmdArgs.push_back("__start"); in ConstructJob()
7533 CmdArgs.push_back("-Bstatic"); in ConstructJob()
7536 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
7537 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
7538 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
7540 CmdArgs.push_back("-shared"); in ConstructJob()
7542 CmdArgs.push_back("-dynamic-linker"); in ConstructJob()
7543 CmdArgs.push_back("/usr/libexec/ld.so"); in ConstructJob()
7548 CmdArgs.push_back("-nopie"); in ConstructJob()
7551 CmdArgs.push_back("-o"); in ConstructJob()
7552 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7560 CmdArgs.push_back( in ConstructJob()
7563 CmdArgs.push_back( in ConstructJob()
7565 CmdArgs.push_back( in ConstructJob()
7568 CmdArgs.push_back( in ConstructJob()
7576 CmdArgs.push_back( in ConstructJob()
7589 CmdArgs.push_back("-lm_p"); in ConstructJob()
7591 CmdArgs.push_back("-lm"); in ConstructJob()
7596 CmdArgs.push_back("-lgcc"); in ConstructJob()
7600 CmdArgs.push_back("-lpthread_p"); in ConstructJob()
7602 CmdArgs.push_back("-lpthread"); in ConstructJob()
7607 CmdArgs.push_back("-lc_p"); in ConstructJob()
7609 CmdArgs.push_back("-lc"); in ConstructJob()
7612 CmdArgs.push_back("-lgcc"); in ConstructJob()
7617 CmdArgs.push_back( in ConstructJob()
7620 CmdArgs.push_back( in ConstructJob()
7638 CmdArgs.push_back("-o"); in ConstructJob()
7639 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7642 CmdArgs.push_back(II.getFilename()); in ConstructJob()
7657 CmdArgs.push_back("-e"); in ConstructJob()
7658 CmdArgs.push_back("__start"); in ConstructJob()
7662 CmdArgs.push_back("-Bstatic"); in ConstructJob()
7665 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
7666 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
7667 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
7669 CmdArgs.push_back("-shared"); in ConstructJob()
7671 CmdArgs.push_back("-dynamic-linker"); in ConstructJob()
7672 CmdArgs.push_back("/usr/libexec/ld.so"); in ConstructJob()
7677 CmdArgs.push_back("-o"); in ConstructJob()
7678 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7686 CmdArgs.push_back( in ConstructJob()
7689 CmdArgs.push_back( in ConstructJob()
7691 CmdArgs.push_back( in ConstructJob()
7694 CmdArgs.push_back( in ConstructJob()
7708 CmdArgs.push_back("-lm_p"); in ConstructJob()
7710 CmdArgs.push_back("-lm"); in ConstructJob()
7715 CmdArgs.push_back("-lpthread_p"); in ConstructJob()
7717 CmdArgs.push_back("-lpthread"); in ConstructJob()
7722 CmdArgs.push_back("-lc_p"); in ConstructJob()
7724 CmdArgs.push_back("-lc"); in ConstructJob()
7741 CmdArgs.push_back(Args.MakeArgString("-lclang_rt." + MyArch)); in ConstructJob()
7746 CmdArgs.push_back( in ConstructJob()
7749 CmdArgs.push_back( in ConstructJob()
7771 CmdArgs.push_back("--32"); in ConstructJob()
7774 CmdArgs.push_back("-a32"); in ConstructJob()
7784 CmdArgs.push_back("-march"); in ConstructJob()
7785 CmdArgs.push_back(CPUName.data()); in ConstructJob()
7787 CmdArgs.push_back("-mabi"); in ConstructJob()
7788 CmdArgs.push_back(getGnuCompatibleMipsABIName(ABIName).data()); in ConstructJob()
7792 CmdArgs.push_back("-EB"); in ConstructJob()
7794 CmdArgs.push_back("-EL"); in ConstructJob()
7806 CmdArgs.push_back("-mfpu=vfp"); in ConstructJob()
7808 CmdArgs.push_back("-mfpu=softvfp"); in ConstructJob()
7814 CmdArgs.push_back("-meabi=5"); in ConstructJob()
7818 CmdArgs.push_back("-matpcs"); in ConstructJob()
7826 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
7834 CmdArgs.push_back("-o"); in ConstructJob()
7835 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7838 CmdArgs.push_back(II.getFilename()); in ConstructJob()
7867 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
7870 CmdArgs.push_back("-pie"); in ConstructJob()
7873 CmdArgs.push_back("-Bstatic"); in ConstructJob()
7876 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
7877 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
7879 CmdArgs.push_back("-Bshareable"); in ConstructJob()
7881 CmdArgs.push_back("-dynamic-linker"); in ConstructJob()
7882 CmdArgs.push_back("/libexec/ld-elf.so.1"); in ConstructJob()
7887 CmdArgs.push_back("--hash-style=both"); in ConstructJob()
7890 CmdArgs.push_back("--enable-new-dtags"); in ConstructJob()
7896 CmdArgs.push_back("-m"); in ConstructJob()
7897 CmdArgs.push_back("elf_i386_fbsd"); in ConstructJob()
7901 CmdArgs.push_back("-m"); in ConstructJob()
7902 CmdArgs.push_back("elf32ppc_fbsd"); in ConstructJob()
7906 CmdArgs.push_back("-o"); in ConstructJob()
7907 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
7923 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1))); in ConstructJob()
7925 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
7935 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
7958 CmdArgs.push_back("-lm_p"); in ConstructJob()
7960 CmdArgs.push_back("-lm"); in ConstructJob()
7967 CmdArgs.push_back("-lgcc_p"); in ConstructJob()
7969 CmdArgs.push_back("-lgcc"); in ConstructJob()
7971 CmdArgs.push_back("-lgcc_eh"); in ConstructJob()
7973 CmdArgs.push_back("-lgcc_eh_p"); in ConstructJob()
7975 CmdArgs.push_back("--as-needed"); in ConstructJob()
7976 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
7977 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
7982 CmdArgs.push_back("-lpthread_p"); in ConstructJob()
7984 CmdArgs.push_back("-lpthread"); in ConstructJob()
7989 CmdArgs.push_back("-lc"); in ConstructJob()
7991 CmdArgs.push_back("-lc_p"); in ConstructJob()
7992 CmdArgs.push_back("-lgcc_p"); in ConstructJob()
7994 CmdArgs.push_back("-lc"); in ConstructJob()
7995 CmdArgs.push_back("-lgcc"); in ConstructJob()
7999 CmdArgs.push_back("-lgcc_eh"); in ConstructJob()
8001 CmdArgs.push_back("-lgcc_eh_p"); in ConstructJob()
8003 CmdArgs.push_back("--as-needed"); in ConstructJob()
8004 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
8005 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
8011 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtendS.o"))); in ConstructJob()
8013 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o"))); in ConstructJob()
8014 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructJob()
8035 CmdArgs.push_back("--32"); in ConstructJob()
8045 CmdArgs.push_back(Args.MakeArgString("-mcpu=" + Arch)); in ConstructJob()
8057 CmdArgs.push_back("-march"); in ConstructJob()
8058 CmdArgs.push_back(CPUName.data()); in ConstructJob()
8060 CmdArgs.push_back("-mabi"); in ConstructJob()
8061 CmdArgs.push_back(getGnuCompatibleMipsABIName(ABIName).data()); in ConstructJob()
8065 CmdArgs.push_back("-EB"); in ConstructJob()
8067 CmdArgs.push_back("-EL"); in ConstructJob()
8075 CmdArgs.push_back("-32"); in ConstructJob()
8077 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
8083 CmdArgs.push_back("-64"); in ConstructJob()
8085 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
8096 CmdArgs.push_back("-o"); in ConstructJob()
8097 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
8100 CmdArgs.push_back(II.getFilename()); in ConstructJob()
8115 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
8117 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
8119 CmdArgs.push_back("-Bstatic"); in ConstructJob()
8122 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
8124 CmdArgs.push_back("-Bshareable"); in ConstructJob()
8126 CmdArgs.push_back("-dynamic-linker"); in ConstructJob()
8127 CmdArgs.push_back("/libexec/ld.elf_so"); in ConstructJob()
8135 CmdArgs.push_back("-m"); in ConstructJob()
8136 CmdArgs.push_back("elf_i386"); in ConstructJob()
8140 CmdArgs.push_back("-m"); in ConstructJob()
8144 CmdArgs.push_back("armelf_nbsd_eabi"); in ConstructJob()
8148 CmdArgs.push_back("armelf_nbsd_eabihf"); in ConstructJob()
8151 CmdArgs.push_back("armelf_nbsd"); in ConstructJob()
8160 CmdArgs.push_back("-m"); in ConstructJob()
8164 CmdArgs.push_back("armelfb_nbsd_eabi"); in ConstructJob()
8168 CmdArgs.push_back("armelfb_nbsd_eabihf"); in ConstructJob()
8171 CmdArgs.push_back("armelfb_nbsd"); in ConstructJob()
8178 CmdArgs.push_back("-m"); in ConstructJob()
8180 CmdArgs.push_back("elf32btsmip"); in ConstructJob()
8182 CmdArgs.push_back("elf32ltsmip"); in ConstructJob()
8184 CmdArgs.push_back("-m"); in ConstructJob()
8186 CmdArgs.push_back("elf64btsmip"); in ConstructJob()
8188 CmdArgs.push_back("elf64ltsmip"); in ConstructJob()
8192 CmdArgs.push_back("-m"); in ConstructJob()
8193 CmdArgs.push_back("elf32ppc_nbsd"); in ConstructJob()
8198 CmdArgs.push_back("-m"); in ConstructJob()
8199 CmdArgs.push_back("elf64ppc"); in ConstructJob()
8203 CmdArgs.push_back("-m"); in ConstructJob()
8204 CmdArgs.push_back("elf32_sparc"); in ConstructJob()
8208 CmdArgs.push_back("-m"); in ConstructJob()
8209 CmdArgs.push_back("elf64_sparc"); in ConstructJob()
8217 CmdArgs.push_back("-o"); in ConstructJob()
8218 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
8225 CmdArgs.push_back( in ConstructJob()
8227 CmdArgs.push_back( in ConstructJob()
8229 CmdArgs.push_back( in ConstructJob()
8232 CmdArgs.push_back( in ConstructJob()
8234 CmdArgs.push_back( in ConstructJob()
8275 CmdArgs.push_back("-lm"); in ConstructJob()
8278 CmdArgs.push_back("-lpthread"); in ConstructJob()
8279 CmdArgs.push_back("-lc"); in ConstructJob()
8286 CmdArgs.push_back("-lgcc_eh"); in ConstructJob()
8287 CmdArgs.push_back("-lc"); in ConstructJob()
8288 CmdArgs.push_back("-lgcc"); in ConstructJob()
8290 CmdArgs.push_back("-lgcc"); in ConstructJob()
8291 CmdArgs.push_back("--as-needed"); in ConstructJob()
8292 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
8293 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
8300 CmdArgs.push_back( in ConstructJob()
8303 CmdArgs.push_back( in ConstructJob()
8305 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o"))); in ConstructJob()
8338 CmdArgs.push_back("--32"); in ConstructJob()
8342 CmdArgs.push_back("--x32"); in ConstructJob()
8344 CmdArgs.push_back("--64"); in ConstructJob()
8347 CmdArgs.push_back("-a32"); in ConstructJob()
8348 CmdArgs.push_back("-mppc"); in ConstructJob()
8349 CmdArgs.push_back("-many"); in ConstructJob()
8352 CmdArgs.push_back("-a64"); in ConstructJob()
8353 CmdArgs.push_back("-mppc64"); in ConstructJob()
8354 CmdArgs.push_back("-many"); in ConstructJob()
8357 CmdArgs.push_back("-a64"); in ConstructJob()
8358 CmdArgs.push_back("-mppc64"); in ConstructJob()
8359 CmdArgs.push_back("-many"); in ConstructJob()
8360 CmdArgs.push_back("-mlittle-endian"); in ConstructJob()
8364 CmdArgs.push_back("-32"); in ConstructJob()
8366 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
8371 CmdArgs.push_back("-64"); in ConstructJob()
8373 CmdArgs.push_back(getSparcAsmModeForCPU(CPU, getToolChain().getTriple())); in ConstructJob()
8384 CmdArgs.push_back("-mfpu=neon"); in ConstructJob()
8387 CmdArgs.push_back("-mfpu=crypto-neon-fp-armv8"); in ConstructJob()
8396 CmdArgs.push_back(Args.MakeArgString("-mfloat-abi=soft")); in ConstructJob()
8399 CmdArgs.push_back(Args.MakeArgString("-mfloat-abi=softfp")); in ConstructJob()
8402 CmdArgs.push_back(Args.MakeArgString("-mfloat-abi=hard")); in ConstructJob()
8414 CmdArgs.push_back("-mcpu=cortex-a15"); in ConstructJob()
8429 CmdArgs.push_back("-march"); in ConstructJob()
8430 CmdArgs.push_back(CPUName.data()); in ConstructJob()
8432 CmdArgs.push_back("-mabi"); in ConstructJob()
8433 CmdArgs.push_back(ABIName.data()); in ConstructJob()
8438 CmdArgs.push_back("-mno-shared"); in ConstructJob()
8442 CmdArgs.push_back(ABIName == "64" ? "-KPIC" : "-call_nonpic"); in ConstructJob()
8446 CmdArgs.push_back("-EB"); in ConstructJob()
8448 CmdArgs.push_back("-EL"); in ConstructJob()
8452 CmdArgs.push_back(Args.MakeArgString("-mnan=2008")); in ConstructJob()
8463 CmdArgs.push_back("-mfpxx"); in ConstructJob()
8474 CmdArgs.push_back("-no-mips16"); in ConstructJob()
8487 CmdArgs.push_back(Args.MakeArgString("-mmsa")); in ConstructJob()
8506 CmdArgs.push_back(Args.MakeArgString("-march=" + CPUName)); in ConstructJob()
8514 CmdArgs.push_back("-o"); in ConstructJob()
8515 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
8518 CmdArgs.push_back(II.getFilename()); in ConstructJob()
8539 CmdArgs.push_back("-lgcc"); in AddLibgcc()
8543 CmdArgs.push_back("-lgcc"); in AddLibgcc()
8546 CmdArgs.push_back("--as-needed"); in AddLibgcc()
8547 CmdArgs.push_back("-lgcc_s"); in AddLibgcc()
8549 CmdArgs.push_back("--no-as-needed"); in AddLibgcc()
8553 CmdArgs.push_back("-lgcc_eh"); in AddLibgcc()
8555 CmdArgs.push_back("-lgcc"); in AddLibgcc()
8563 CmdArgs.push_back("-ldl"); in AddLibgcc()
8735 CmdArgs.push_back("-flavor"); in ConstructJob()
8736 CmdArgs.push_back("old-gnu"); in ConstructJob()
8737 CmdArgs.push_back("-target"); in ConstructJob()
8738 CmdArgs.push_back(Args.MakeArgString(getToolChain().getTripleString())); in ConstructJob()
8742 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
8745 CmdArgs.push_back("-pie"); in ConstructJob()
8748 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
8751 CmdArgs.push_back("-s"); in ConstructJob()
8757 CmdArgs.push_back(Opt.c_str()); in ConstructJob()
8760 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
8763 CmdArgs.push_back("-m"); in ConstructJob()
8764 CmdArgs.push_back(getLDMOption(ToolChain.getTriple(), Args)); in ConstructJob()
8769 CmdArgs.push_back("-Bstatic"); in ConstructJob()
8771 CmdArgs.push_back("-static"); in ConstructJob()
8773 CmdArgs.push_back("-shared"); in ConstructJob()
8780 CmdArgs.push_back("-dynamic-linker"); in ConstructJob()
8781 CmdArgs.push_back(Args.MakeArgString( in ConstructJob()
8785 CmdArgs.push_back("-o"); in ConstructJob()
8786 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
8800 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1))); in ConstructJob()
8802 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
8816 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
8831 CmdArgs.push_back("--no-demangle"); in ConstructJob()
8843 CmdArgs.push_back("-Bstatic"); in ConstructJob()
8846 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
8847 CmdArgs.push_back("-lm"); in ConstructJob()
8855 CmdArgs.push_back("--start-group"); in ConstructJob()
8872 CmdArgs.push_back("-lomp"); in ConstructJob()
8875 CmdArgs.push_back("-lgomp"); in ConstructJob()
8879 CmdArgs.push_back("-lrt"); in ConstructJob()
8882 CmdArgs.push_back("-liomp5"); in ConstructJob()
8893 CmdArgs.push_back("-lpthread"); in ConstructJob()
8895 CmdArgs.push_back("-lc"); in ConstructJob()
8898 CmdArgs.push_back("--end-group"); in ConstructJob()
8913 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend))); in ConstructJob()
8915 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructJob()
8936 NewInputs.push_back(NaClMacros); in ConstructJob()
8970 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
8973 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
8976 CmdArgs.push_back("-s"); in ConstructJob()
8980 CmdArgs.push_back("--build-id"); in ConstructJob()
8983 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
8985 CmdArgs.push_back("-m"); in ConstructJob()
8987 CmdArgs.push_back("elf_i386_nacl"); in ConstructJob()
8989 CmdArgs.push_back("armelf_nacl"); in ConstructJob()
8991 CmdArgs.push_back("elf_x86_64_nacl"); in ConstructJob()
8993 CmdArgs.push_back("mipselelf_nacl"); in ConstructJob()
8999 CmdArgs.push_back("-static"); in ConstructJob()
9001 CmdArgs.push_back("-shared"); in ConstructJob()
9003 CmdArgs.push_back("-o"); in ConstructJob()
9004 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9007 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crt1.o"))); in ConstructJob()
9008 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
9017 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
9026 CmdArgs.push_back("--no-demangle"); in ConstructJob()
9035 CmdArgs.push_back("-Bstatic"); in ConstructJob()
9038 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
9039 CmdArgs.push_back("-lm"); in ConstructJob()
9045 CmdArgs.push_back("--start-group"); in ConstructJob()
9046 CmdArgs.push_back("-lc"); in ConstructJob()
9056 CmdArgs.push_back("-lnacl"); in ConstructJob()
9058 CmdArgs.push_back("-lpthread"); in ConstructJob()
9061 CmdArgs.push_back("-lgcc"); in ConstructJob()
9062 CmdArgs.push_back("--as-needed"); in ConstructJob()
9064 CmdArgs.push_back("-lgcc_eh"); in ConstructJob()
9066 CmdArgs.push_back("-lgcc_s"); in ConstructJob()
9067 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
9073 CmdArgs.push_back("-lpnacl_legacy"); in ConstructJob()
9075 CmdArgs.push_back("--end-group"); in ConstructJob()
9085 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend))); in ConstructJob()
9086 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructJob()
9104 CmdArgs.push_back("-o"); in ConstructJob()
9105 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9108 CmdArgs.push_back(II.getFilename()); in ConstructJob()
9123 CmdArgs.push_back("-o"); in ConstructJob()
9124 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9130 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crt1.o"))); in ConstructJob()
9131 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o"))); in ConstructJob()
9132 CmdArgs.push_back( in ConstructJob()
9134 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o"))); in ConstructJob()
9147 CmdArgs.push_back("-lm"); in ConstructJob()
9153 CmdArgs.push_back("-lpthread"); in ConstructJob()
9154 CmdArgs.push_back("-lc"); in ConstructJob()
9155 CmdArgs.push_back("-lCompilerRT-Generic"); in ConstructJob()
9156 CmdArgs.push_back("-L/usr/pkg/compiler-rt/lib"); in ConstructJob()
9157 CmdArgs.push_back( in ConstructJob()
9180 CmdArgs.push_back("--32"); in ConstructJob()
9184 CmdArgs.push_back("-o"); in ConstructJob()
9185 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9188 CmdArgs.push_back(II.getFilename()); in ConstructJob()
9204 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
9206 CmdArgs.push_back("--eh-frame-hdr"); in ConstructJob()
9208 CmdArgs.push_back("-Bstatic"); in ConstructJob()
9211 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
9213 CmdArgs.push_back("-Bshareable"); in ConstructJob()
9215 CmdArgs.push_back("-dynamic-linker"); in ConstructJob()
9216 CmdArgs.push_back("/usr/libexec/ld-elf.so.2"); in ConstructJob()
9218 CmdArgs.push_back("--hash-style=both"); in ConstructJob()
9224 CmdArgs.push_back("-m"); in ConstructJob()
9225 CmdArgs.push_back("elf_i386"); in ConstructJob()
9229 CmdArgs.push_back("-o"); in ConstructJob()
9230 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9238 CmdArgs.push_back( in ConstructJob()
9242 CmdArgs.push_back( in ConstructJob()
9245 CmdArgs.push_back( in ConstructJob()
9249 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o"))); in ConstructJob()
9251 CmdArgs.push_back( in ConstructJob()
9254 CmdArgs.push_back( in ConstructJob()
9267 CmdArgs.push_back("-L/usr/lib/gcc47"); in ConstructJob()
9269 CmdArgs.push_back("-L/usr/lib/gcc44"); in ConstructJob()
9273 CmdArgs.push_back("-rpath"); in ConstructJob()
9274 CmdArgs.push_back("/usr/lib/gcc47"); in ConstructJob()
9276 CmdArgs.push_back("-rpath"); in ConstructJob()
9277 CmdArgs.push_back("/usr/lib/gcc44"); in ConstructJob()
9283 CmdArgs.push_back("-lm"); in ConstructJob()
9287 CmdArgs.push_back("-lpthread"); in ConstructJob()
9290 CmdArgs.push_back("-lc"); in ConstructJob()
9296 CmdArgs.push_back("-lgcc"); in ConstructJob()
9297 CmdArgs.push_back("-lgcc_eh"); in ConstructJob()
9300 CmdArgs.push_back("-lgcc_pic"); in ConstructJob()
9302 CmdArgs.push_back("-lgcc"); in ConstructJob()
9304 CmdArgs.push_back("-lgcc"); in ConstructJob()
9305 CmdArgs.push_back("--as-needed"); in ConstructJob()
9306 CmdArgs.push_back("-lgcc_pic"); in ConstructJob()
9307 CmdArgs.push_back("--no-as-needed"); in ConstructJob()
9312 CmdArgs.push_back("-lgcc_pic"); in ConstructJob()
9314 CmdArgs.push_back("-lgcc"); in ConstructJob()
9321 CmdArgs.push_back( in ConstructJob()
9324 CmdArgs.push_back( in ConstructJob()
9326 CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crtn.o"))); in ConstructJob()
9365 CmdArgs.push_back( in ConstructJob()
9370 CmdArgs.push_back("-defaultlib:libcmt"); in ConstructJob()
9395 CmdArgs.push_back( in ConstructJob()
9401 CmdArgs.push_back(Args.MakeArgString(std::string("-libpath:") + in ConstructJob()
9408 CmdArgs.push_back(Args.MakeArgString(std::string("-libpath:") + in ConstructJob()
9412 CmdArgs.push_back("-nologo"); in ConstructJob()
9415 CmdArgs.push_back("-debug"); in ConstructJob()
9420 CmdArgs.push_back(Args.MakeArgString("-dll")); in ConstructJob()
9424 CmdArgs.push_back(Args.MakeArgString(std::string("-implib:") + ImplibName)); in ConstructJob()
9428 CmdArgs.push_back(Args.MakeArgString("-debug")); in ConstructJob()
9429 CmdArgs.push_back(Args.MakeArgString("-incremental:no")); in ConstructJob()
9432 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Lib)); in ConstructJob()
9435 CmdArgs.push_back(Args.MakeArgString("-include:___asan_seh_interceptor")); in ConstructJob()
9437 CmdArgs.push_back(TC.getCompilerRTArgString(Args, "asan_dll_thunk")); in ConstructJob()
9440 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Lib)); in ConstructJob()
9448 CmdArgs.push_back("-nodefaultlib:vcomp.lib"); in ConstructJob()
9449 CmdArgs.push_back("-nodefaultlib:vcompd.lib"); in ConstructJob()
9450 CmdArgs.push_back(Args.MakeArgString(std::string("-libpath:") + in ConstructJob()
9454 CmdArgs.push_back("-defaultlib:libomp.lib"); in ConstructJob()
9457 CmdArgs.push_back("-defaultlib:libiomp5md.lib"); in ConstructJob()
9470 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
9484 CmdArgs.push_back(LinkLibArg); in ConstructJob()
9530 CmdArgs.push_back("/nologo"); in GetCommand()
9531 CmdArgs.push_back("/c"); // Compile only. in GetCommand()
9532 CmdArgs.push_back("/W0"); // No warnings. in GetCommand()
9542 CmdArgs.push_back(A->getOption().getID() == options::OPT_fbuiltin ? "/Oi" in GetCommand()
9546 CmdArgs.push_back("/Od"); in GetCommand()
9548 CmdArgs.push_back("/Og"); in GetCommand()
9552 CmdArgs.push_back("/Os"); in GetCommand()
9554 CmdArgs.push_back("/Ot"); in GetCommand()
9556 CmdArgs.push_back("/Ob2"); in GetCommand()
9561 CmdArgs.push_back(A->getOption().getID() == options::OPT_fomit_frame_pointer in GetCommand()
9565 CmdArgs.push_back("/GF"); in GetCommand()
9572 CmdArgs.push_back("/GR-"); in GetCommand()
9575 CmdArgs.push_back(A->getOption().getID() == options::OPT_ffunction_sections in GetCommand()
9580 CmdArgs.push_back( in GetCommand()
9583 CmdArgs.push_back("/Zs"); in GetCommand()
9586 CmdArgs.push_back("/Z7"); in GetCommand()
9591 CmdArgs.push_back(Args.MakeArgString(std::string("/FI") + Include)); in GetCommand()
9608 CmdArgs.push_back(II.getType() == types::TY_C ? "/Tc" : "/Tp"); in GetCommand()
9610 CmdArgs.push_back(II.getFilename()); in GetCommand()
9618 CmdArgs.push_back(Fo); in GetCommand()
9637 CmdArgs.push_back("--32"); in ConstructJob()
9639 CmdArgs.push_back("--64"); in ConstructJob()
9644 CmdArgs.push_back("-o"); in ConstructJob()
9645 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9648 CmdArgs.push_back(II.getFilename()); in ConstructJob()
9661 CmdArgs.push_back("-lmingwthrd"); in AddLibGCC()
9662 CmdArgs.push_back("-lmingw32"); in AddLibGCC()
9673 CmdArgs.push_back("-lgcc"); in AddLibGCC()
9674 CmdArgs.push_back("-lgcc_eh"); in AddLibGCC()
9676 CmdArgs.push_back("-lgcc_s"); in AddLibGCC()
9677 CmdArgs.push_back("-lgcc"); in AddLibGCC()
9683 CmdArgs.push_back("-lmoldname"); in AddLibGCC()
9684 CmdArgs.push_back("-lmingwex"); in AddLibGCC()
9685 CmdArgs.push_back("-lmsvcrt"); in AddLibGCC()
9709 CmdArgs.push_back("-flavor"); in ConstructJob()
9710 CmdArgs.push_back("gnu"); in ConstructJob()
9716 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
9719 CmdArgs.push_back("-s"); in ConstructJob()
9721 CmdArgs.push_back("-m"); in ConstructJob()
9723 CmdArgs.push_back("i386pe"); in ConstructJob()
9725 CmdArgs.push_back("i386pep"); in ConstructJob()
9727 CmdArgs.push_back("thumb2pe"); in ConstructJob()
9730 CmdArgs.push_back("--subsystem"); in ConstructJob()
9731 CmdArgs.push_back("windows"); in ConstructJob()
9733 CmdArgs.push_back("--subsystem"); in ConstructJob()
9734 CmdArgs.push_back("console"); in ConstructJob()
9738 CmdArgs.push_back("-Bstatic"); in ConstructJob()
9741 CmdArgs.push_back("--dll"); in ConstructJob()
9743 CmdArgs.push_back("--shared"); in ConstructJob()
9744 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
9746 CmdArgs.push_back("-e"); in ConstructJob()
9748 CmdArgs.push_back("_DllMainCRTStartup@12"); in ConstructJob()
9750 CmdArgs.push_back("DllMainCRTStartup"); in ConstructJob()
9751 CmdArgs.push_back("--enable-auto-image-base"); in ConstructJob()
9755 CmdArgs.push_back("-o"); in ConstructJob()
9756 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9768 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("dllcrt2.o"))); in ConstructJob()
9771 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crt2u.o"))); in ConstructJob()
9773 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crt2.o"))); in ConstructJob()
9776 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("gcrt2.o"))); in ConstructJob()
9777 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtbegin.o"))); in ConstructJob()
9793 CmdArgs.push_back("-Bstatic"); in ConstructJob()
9796 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
9802 CmdArgs.push_back("--start-group"); in ConstructJob()
9807 CmdArgs.push_back("-lssp_nonshared"); in ConstructJob()
9808 CmdArgs.push_back("-lssp"); in ConstructJob()
9811 CmdArgs.push_back("-lgomp"); in ConstructJob()
9816 CmdArgs.push_back("-lgmon"); in ConstructJob()
9819 CmdArgs.push_back("-lpthread"); in ConstructJob()
9823 CmdArgs.push_back("-lgdi32"); in ConstructJob()
9824 CmdArgs.push_back("-lcomdlg32"); in ConstructJob()
9826 CmdArgs.push_back("-ladvapi32"); in ConstructJob()
9827 CmdArgs.push_back("-lshell32"); in ConstructJob()
9828 CmdArgs.push_back("-luser32"); in ConstructJob()
9829 CmdArgs.push_back("-lkernel32"); in ConstructJob()
9832 CmdArgs.push_back("--end-group"); in ConstructJob()
9841 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtend.o"))); in ConstructJob()
9859 CmdArgs.push_back("-o"); in ConstructJob()
9860 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9862 CmdArgs.push_back("-c"); in ConstructJob()
9865 CmdArgs.push_back("-v"); in ConstructJob()
9869 CmdArgs.push_back("-g"); in ConstructJob()
9873 CmdArgs.push_back("-fverbose-asm"); in ConstructJob()
9878 CmdArgs.push_back(II.getFilename()); in ConstructJob()
9892 CmdArgs.push_back("-o"); in ConstructJob()
9893 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9899 CmdArgs.push_back("-v"); in ConstructJob()
9904 CmdArgs.push_back("-fexceptions"); in ConstructJob()
9930 CmdArgs.push_back("--32"); in ConstructJob()
9933 CmdArgs.push_back("--64"); in ConstructJob()
9939 CmdArgs.push_back("-o"); in ConstructJob()
9940 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
9943 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
9973 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
9976 CmdArgs.push_back("-pie"); in ConstructJob()
9978 CmdArgs.push_back("-export-dynamic"); in ConstructJob()
9980 CmdArgs.push_back("--strip-all"); in ConstructJob()
9982 CmdArgs.push_back("-m"); in ConstructJob()
9989 CmdArgs.push_back("thumb2pe"); in ConstructJob()
9992 CmdArgs.push_back("i386pe"); in ConstructJob()
9996 CmdArgs.push_back("i386pep"); in ConstructJob()
10014 CmdArgs.push_back("-shared"); in ConstructJob()
10015 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
10017 CmdArgs.push_back("--enable-auto-image-base"); in ConstructJob()
10019 CmdArgs.push_back("--entry"); in ConstructJob()
10020 CmdArgs.push_back(Args.MakeArgString(EntryPoint)); in ConstructJob()
10024 CmdArgs.push_back(Args.hasArg(options::OPT_static) ? "-Bstatic" in ConstructJob()
10028 CmdArgs.push_back("--entry"); in ConstructJob()
10029 CmdArgs.push_back(Args.MakeArgString(EntryPoint)); in ConstructJob()
10036 CmdArgs.push_back("--allow-multiple-definition"); in ConstructJob()
10038 CmdArgs.push_back("-o"); in ConstructJob()
10039 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
10045 CmdArgs.push_back("--out-implib"); in ConstructJob()
10046 CmdArgs.push_back(Args.MakeArgString(ImpLib)); in ConstructJob()
10055 CmdArgs.push_back(Args.MakeArgString(CRTPath + CRTBegin)); in ConstructJob()
10067 CmdArgs.push_back("-Bstatic"); in ConstructJob()
10070 CmdArgs.push_back("-Bdynamic"); in ConstructJob()
10076 CmdArgs.push_back("-lmsvcrt"); in ConstructJob()
10084 CmdArgs.push_back(TC.getCompilerRTArgString(Args, "asan_dll_thunk")); in ConstructJob()
10087 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Lib)); in ConstructJob()
10090 CmdArgs.push_back(Args.MakeArgString("--undefined")); in ConstructJob()
10091 CmdArgs.push_back(Args.MakeArgString(TC.getArch() == llvm::Triple::x86 in ConstructJob()
10115 CmdArgs.push_back("-E"); in ConstructJob()
10118 CmdArgs.push_back("-S"); in ConstructJob()
10119 CmdArgs.push_back("-fno-exceptions"); // Always do this even if unspecified. in ConstructJob()
10121 CmdArgs.push_back("-mcpu=myriad2"); in ConstructJob()
10122 CmdArgs.push_back("-DMYRIAD2"); in ConstructJob()
10143 CmdArgs.push_back("-MT"); in ConstructJob()
10144 CmdArgs.push_back(Args.MakeArgString(A->getValue())); in ConstructJob()
10148 CmdArgs.push_back(II.getFilename()); in ConstructJob()
10149 CmdArgs.push_back("-o"); in ConstructJob()
10150 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
10170 CmdArgs.push_back("-no6thSlotCompression"); in ConstructJob()
10171 CmdArgs.push_back("-cv:myriad2"); // Chip Version in ConstructJob()
10172 CmdArgs.push_back("-noSPrefixing"); in ConstructJob()
10173 CmdArgs.push_back("-a"); // Mystery option. in ConstructJob()
10177 CmdArgs.push_back( in ConstructJob()
10180 CmdArgs.push_back("-elf"); // Output format. in ConstructJob()
10181 CmdArgs.push_back(II.getFilename()); in ConstructJob()
10182 CmdArgs.push_back( in ConstructJob()
10206 CmdArgs.push_back("-EB"); in ConstructJob()
10208 CmdArgs.push_back("-EL"); in ConstructJob()
10220 CmdArgs.push_back("-s"); in ConstructJob()
10222 CmdArgs.push_back("-o"); in ConstructJob()
10223 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
10228 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crti.o"))); in ConstructJob()
10229 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtbegin.o"))); in ConstructJob()
10242 CmdArgs.push_back("-lstdc++"); in ConstructJob()
10244 CmdArgs.push_back("--start-group"); in ConstructJob()
10245 CmdArgs.push_back("-lc"); in ConstructJob()
10247 CmdArgs.push_back("-lrtemscpu"); in ConstructJob()
10248 CmdArgs.push_back("-lrtemsbsp"); in ConstructJob()
10249 CmdArgs.push_back("--end-group"); in ConstructJob()
10251 CmdArgs.push_back("-lc"); in ConstructJob()
10253 CmdArgs.push_back("-lgcc"); in ConstructJob()
10256 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtend.o"))); in ConstructJob()
10257 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtn.o"))); in ConstructJob()
10276 CmdArgs.push_back("-o"); in ConstructJob()
10277 CmdArgs.push_back(Output.getFilename()); in ConstructJob()
10282 CmdArgs.push_back(Input.getFilename()); in ConstructJob()
10292 CmdArgs.push_back("-lSceDbgUBSanitizer_stub_weak"); in AddPS4SanitizerArgs()
10295 CmdArgs.push_back("-lSceDbgAddressSanitizer_stub_weak"); in AddPS4SanitizerArgs()
10318 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructPS4LinkJob()
10321 CmdArgs.push_back("-pie"); in ConstructPS4LinkJob()
10324 CmdArgs.push_back("-export-dynamic"); in ConstructPS4LinkJob()
10326 CmdArgs.push_back("--oformat=so"); in ConstructPS4LinkJob()
10329 CmdArgs.push_back("-o"); in ConstructPS4LinkJob()
10330 CmdArgs.push_back(Output.getFilename()); in ConstructPS4LinkJob()
10345 CmdArgs.push_back("--no-demangle"); in ConstructPS4LinkJob()
10350 CmdArgs.push_back("-lpthread"); in ConstructPS4LinkJob()
10377 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructGoldLinkJob()
10380 CmdArgs.push_back("-pie"); in ConstructGoldLinkJob()
10383 CmdArgs.push_back("-Bstatic"); in ConstructGoldLinkJob()
10386 CmdArgs.push_back("-export-dynamic"); in ConstructGoldLinkJob()
10387 CmdArgs.push_back("--eh-frame-hdr"); in ConstructGoldLinkJob()
10389 CmdArgs.push_back("-Bshareable"); in ConstructGoldLinkJob()
10391 CmdArgs.push_back("-dynamic-linker"); in ConstructGoldLinkJob()
10392 CmdArgs.push_back("/libexec/ld-elf.so.1"); in ConstructGoldLinkJob()
10394 CmdArgs.push_back("--enable-new-dtags"); in ConstructGoldLinkJob()
10398 CmdArgs.push_back("-o"); in ConstructGoldLinkJob()
10399 CmdArgs.push_back(Output.getFilename()); in ConstructGoldLinkJob()
10417 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1))); in ConstructGoldLinkJob()
10419 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructGoldLinkJob()
10429 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructGoldLinkJob()
10441 CmdArgs.push_back("--no-demangle"); in ConstructGoldLinkJob()
10448 CmdArgs.push_back("-lkernel"); in ConstructGoldLinkJob()
10452 CmdArgs.push_back("-lm_p"); in ConstructGoldLinkJob()
10454 CmdArgs.push_back("-lm"); in ConstructGoldLinkJob()
10459 CmdArgs.push_back("-lgcc_p"); in ConstructGoldLinkJob()
10461 CmdArgs.push_back("-lcompiler_rt"); in ConstructGoldLinkJob()
10463 CmdArgs.push_back("-lstdc++"); in ConstructGoldLinkJob()
10465 CmdArgs.push_back("-lgcc_eh_p"); in ConstructGoldLinkJob()
10467 CmdArgs.push_back("--as-needed"); in ConstructGoldLinkJob()
10468 CmdArgs.push_back("-lstdc++"); in ConstructGoldLinkJob()
10469 CmdArgs.push_back("--no-as-needed"); in ConstructGoldLinkJob()
10474 CmdArgs.push_back("-lpthread_p"); in ConstructGoldLinkJob()
10476 CmdArgs.push_back("-lpthread"); in ConstructGoldLinkJob()
10481 CmdArgs.push_back("-lc"); in ConstructGoldLinkJob()
10484 CmdArgs.push_back("--start-group"); in ConstructGoldLinkJob()
10485 CmdArgs.push_back("-lc_p"); in ConstructGoldLinkJob()
10486 CmdArgs.push_back("-lpthread_p"); in ConstructGoldLinkJob()
10487 CmdArgs.push_back("--end-group"); in ConstructGoldLinkJob()
10489 CmdArgs.push_back("-lc_p"); in ConstructGoldLinkJob()
10492 CmdArgs.push_back("-lgcc_p"); in ConstructGoldLinkJob()
10495 CmdArgs.push_back("--start-group"); in ConstructGoldLinkJob()
10496 CmdArgs.push_back("-lc"); in ConstructGoldLinkJob()
10497 CmdArgs.push_back("-lpthread"); in ConstructGoldLinkJob()
10498 CmdArgs.push_back("--end-group"); in ConstructGoldLinkJob()
10500 CmdArgs.push_back("-lc"); in ConstructGoldLinkJob()
10502 CmdArgs.push_back("-lcompiler_rt"); in ConstructGoldLinkJob()
10506 CmdArgs.push_back("-lstdc++"); in ConstructGoldLinkJob()
10508 CmdArgs.push_back("-lgcc_eh_p"); in ConstructGoldLinkJob()
10510 CmdArgs.push_back("--as-needed"); in ConstructGoldLinkJob()
10511 CmdArgs.push_back("-lstdc++"); in ConstructGoldLinkJob()
10512 CmdArgs.push_back("--no-as-needed"); in ConstructGoldLinkJob()
10518 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtendS.o"))); in ConstructGoldLinkJob()
10520 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o"))); in ConstructGoldLinkJob()
10521 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructGoldLinkJob()