• Home
  • Raw
  • Download

Lines Matching refs:Arg

88 static uint64_t parseArgValues(const Driver &D, const llvm::opt::Arg *A,
109 static std::string describeSanitizeArg(const llvm::opt::Arg *A, uint64_t Mask);
206 const auto *Arg = *I; in SanitizerArgs() local
207 if (Arg->getOption().matches(options::OPT_fsanitize_EQ)) { in SanitizerArgs()
208 Arg->claim(); in SanitizerArgs()
209 uint64_t Add = parseArgValues(D, Arg, true); in SanitizerArgs()
236 const llvm::opt::Arg *NoRTTIArg = TC.getRTTIArg(); in SanitizerArgs()
255 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) { in SanitizerArgs()
256 Arg->claim(); in SanitizerArgs()
257 uint64_t Remove = parseArgValues(D, Arg, true); in SanitizerArgs()
309 for (const auto *Arg : Args) { in SanitizerArgs() local
311 if (Arg->getOption().matches(options::OPT_fsanitize_recover)) { in SanitizerArgs()
314 Arg->claim(); in SanitizerArgs()
315 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_recover)) { in SanitizerArgs()
318 Arg->claim(); in SanitizerArgs()
319 } else if (Arg->getOption().matches(options::OPT_fsanitize_recover_EQ)) { in SanitizerArgs()
320 uint64_t Add = parseArgValues(D, Arg, true); in SanitizerArgs()
328 << Arg->getOption().getName() << toString(SetToDiagnose); in SanitizerArgs()
332 Arg->claim(); in SanitizerArgs()
333 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_recover_EQ)) { in SanitizerArgs()
334 RecoverableKinds &= ~expandGroups(parseArgValues(D, Arg, true)); in SanitizerArgs()
335 Arg->claim(); in SanitizerArgs()
338 D.Diag(diag::warn_drv_deprecated_arg) << Arg->getAsString(Args) in SanitizerArgs()
353 for (const auto *Arg : Args) { in SanitizerArgs() local
354 if (Arg->getOption().matches(options::OPT_fsanitize_blacklist)) { in SanitizerArgs()
355 Arg->claim(); in SanitizerArgs()
356 std::string BLPath = Arg->getValue(); in SanitizerArgs()
361 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_blacklist)) { in SanitizerArgs()
362 Arg->claim(); in SanitizerArgs()
377 if (Arg *A = in SanitizerArgs()
398 if (Arg *A = Args.getLastArg(options::OPT_fsanitize_coverage)) { in SanitizerArgs()
413 if (Arg *A = in SanitizerArgs()
423 if (Arg *WindowsDebugRTArg = in SanitizerArgs()
514 uint64_t parseArgValues(const Driver &D, const llvm::opt::Arg *A, in parseArgValues()
546 const auto *Arg = *I; in lastArgumentForMask() local
547 if (Arg->getOption().matches(options::OPT_fsanitize_EQ)) { in lastArgumentForMask()
548 uint64_t AddKinds = expandGroups(parseArgValues(D, Arg, false)); in lastArgumentForMask()
550 return describeSanitizeArg(Arg, Mask); in lastArgumentForMask()
551 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) { in lastArgumentForMask()
552 uint64_t RemoveKinds = expandGroups(parseArgValues(D, Arg, false)); in lastArgumentForMask()
559 std::string describeSanitizeArg(const llvm::opt::Arg *A, uint64_t Mask) { in describeSanitizeArg()