Lines Matching refs:CmdArgs
1093 llvm::opt::ArgStringList &CmdArgs, in addSpecialCaseListOpt() argument
1099 CmdArgs.push_back(Args.MakeArgString(SCLOpt)); in addSpecialCaseListOpt()
1105 llvm::opt::ArgStringList &CmdArgs, in addIncludeLinkerOption() argument
1114 CmdArgs.push_back(Args.MakeArgString(LinkerOptionFlag)); in addIncludeLinkerOption()
1117 static bool hasTargetFeatureMTE(const llvm::opt::ArgStringList &CmdArgs) { in hasTargetFeatureMTE() argument
1118 for (auto Start = CmdArgs.begin(), End = CmdArgs.end(); Start != End; in hasTargetFeatureMTE()
1131 llvm::opt::ArgStringList &CmdArgs, in addArgs() argument
1175 CmdArgs.push_back(F.second); in addArgs()
1178 Args, CmdArgs, "-fsanitize-coverage-allowlist=", CoverageAllowlistFiles); in addArgs()
1179 addSpecialCaseListOpt(Args, CmdArgs, "-fsanitize-coverage-ignorelist=", in addArgs()
1191 CmdArgs.push_back( in addArgs()
1194 addSpecialCaseListOpt(Args, CmdArgs, in addArgs()
1204 CmdArgs.push_back( in addArgs()
1208 CmdArgs.push_back(Args.MakeArgString( in addArgs()
1215 CmdArgs.push_back(Args.MakeArgString( in addArgs()
1222 CmdArgs.push_back(Args.MakeArgString( in addArgs()
1224 addIncludeLinkerOption(TC, Args, CmdArgs, "__sanitizer_stats_register"); in addArgs()
1229 CmdArgs.push_back(Args.MakeArgString("-fsanitize=" + toString(Sanitizers))); in addArgs()
1232 CmdArgs.push_back(Args.MakeArgString("-fsanitize-recover=" + in addArgs()
1236 CmdArgs.push_back( in addArgs()
1239 addSpecialCaseListOpt(Args, CmdArgs, in addArgs()
1241 addSpecialCaseListOpt(Args, CmdArgs, in addArgs()
1245 CmdArgs.push_back(Args.MakeArgString("-fsanitize-memory-track-origins=" + in addArgs()
1249 CmdArgs.push_back("-fsanitize-memory-use-after-dtor"); in addArgs()
1252 CmdArgs.push_back("-fno-sanitize-memory-param-retval"); in addArgs()
1256 CmdArgs.push_back("-mllvm"); in addArgs()
1257 CmdArgs.push_back("-tsan-instrument-memory-accesses=0"); in addArgs()
1258 CmdArgs.push_back("-mllvm"); in addArgs()
1259 CmdArgs.push_back("-tsan-instrument-memintrinsics=0"); in addArgs()
1262 CmdArgs.push_back("-mllvm"); in addArgs()
1263 CmdArgs.push_back("-tsan-instrument-func-entry-exit=0"); in addArgs()
1266 CmdArgs.push_back("-mllvm"); in addArgs()
1267 CmdArgs.push_back("-tsan-instrument-atomics=0"); in addArgs()
1271 CmdArgs.push_back("-mllvm"); in addArgs()
1272 CmdArgs.push_back("-hwasan-experimental-use-page-aliases=1"); in addArgs()
1276 CmdArgs.push_back("-fsanitize-cfi-cross-dso"); in addArgs()
1279 CmdArgs.push_back("-fsanitize-cfi-icall-generalize-pointers"); in addArgs()
1282 CmdArgs.push_back("-fsanitize-cfi-icall-experimental-normalize-integers"); in addArgs()
1285 CmdArgs.push_back("-fsanitize-cfi-canonical-jump-tables"); in addArgs()
1288 CmdArgs.push_back("-fsanitize-stats"); in addArgs()
1291 CmdArgs.push_back("-fsanitize-minimal-runtime"); in addArgs()
1294 CmdArgs.push_back(Args.MakeArgString("-fsanitize-address-field-padding=" + in addArgs()
1298 CmdArgs.push_back("-fsanitize-address-use-after-scope"); in addArgs()
1301 CmdArgs.push_back("-fsanitize-address-poison-custom-array-cookie"); in addArgs()
1304 CmdArgs.push_back("-fsanitize-address-globals-dead-stripping"); in addArgs()
1307 CmdArgs.push_back("-fno-sanitize-address-use-odr-indicator"); in addArgs()
1310 CmdArgs.push_back("-mllvm"); in addArgs()
1311 CmdArgs.push_back("-asan-detect-invalid-pointer-cmp"); in addArgs()
1315 CmdArgs.push_back("-mllvm"); in addArgs()
1316 CmdArgs.push_back("-asan-detect-invalid-pointer-sub"); in addArgs()
1320 CmdArgs.push_back("-mllvm"); in addArgs()
1321 CmdArgs.push_back("-asan-instrumentation-with-call-threshold=0"); in addArgs()
1328 CmdArgs.push_back("-mllvm"); in addArgs()
1329 CmdArgs.push_back("-asan-instrumentation-with-call-threshold=0"); in addArgs()
1330 CmdArgs.push_back("-mllvm"); in addArgs()
1331 CmdArgs.push_back("-asan-max-inline-poisoning-size=0"); in addArgs()
1332 CmdArgs.push_back("-mllvm"); in addArgs()
1333 CmdArgs.push_back("-asan-guard-against-version-mismatch=0"); in addArgs()
1339 CmdArgs.push_back(Args.MakeArgString("-fsanitize-address-destructor=" + in addArgs()
1344 CmdArgs.push_back(Args.MakeArgString( in addArgs()
1350 CmdArgs.push_back("-default-function-attr"); in addArgs()
1351 CmdArgs.push_back(Args.MakeArgString("hwasan-abi=" + HwasanAbi)); in addArgs()
1355 CmdArgs.push_back("-target-feature"); in addArgs()
1356 CmdArgs.push_back("+tagged-globals"); in addArgs()
1366 CmdArgs.push_back("-fno-assume-sane-operator-new"); in addArgs()
1374 CmdArgs.push_back("-fno-builtin-bcmp"); in addArgs()
1375 CmdArgs.push_back("-fno-builtin-memcmp"); in addArgs()
1376 CmdArgs.push_back("-fno-builtin-strncmp"); in addArgs()
1377 CmdArgs.push_back("-fno-builtin-strcmp"); in addArgs()
1378 CmdArgs.push_back("-fno-builtin-strncasecmp"); in addArgs()
1379 CmdArgs.push_back("-fno-builtin-strcasecmp"); in addArgs()
1380 CmdArgs.push_back("-fno-builtin-strstr"); in addArgs()
1381 CmdArgs.push_back("-fno-builtin-strcasestr"); in addArgs()
1382 CmdArgs.push_back("-fno-builtin-memmem"); in addArgs()
1396 !hasTargetFeatureMTE(CmdArgs)) in addArgs()