Lines Matching refs:SanitizerMask
28 enum : SanitizerMask {
56 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
69 SanitizerMask Mask);
76 SanitizerMask Mask);
82 static bool getDefaultBlacklist(const Driver &D, SanitizerMask Kinds, in getDefaultBlacklist()
107 static SanitizerMask setGroupBits(SanitizerMask Kinds) { in setGroupBits()
116 static SanitizerMask parseSanitizeTrapArgs(const Driver &D, in parseSanitizeTrapArgs()
118 SanitizerMask TrapRemove = 0; // During the loop below, the accumulated set of in parseSanitizeTrapArgs()
121 SanitizerMask TrappingKinds = 0; in parseSanitizeTrapArgs()
122 SanitizerMask TrappingSupportedWithGroups = setGroupBits(TrappingSupported); in parseSanitizeTrapArgs()
129 SanitizerMask Add = parseArgValues(D, Arg, true); in parseSanitizeTrapArgs()
131 if (SanitizerMask InvalidValues = Add & ~TrappingSupportedWithGroups) { in parseSanitizeTrapArgs()
202 SanitizerMask AllRemove = 0; // During the loop below, the accumulated set of in SanitizerArgs()
205 SanitizerMask AllAddedKinds = 0; // Mask of all sanitizers ever enabled by in SanitizerArgs()
210 SanitizerMask DiagnosedKinds = 0; // All Kinds we have diagnosed up to now. in SanitizerArgs()
212 SanitizerMask Kinds = 0; in SanitizerArgs()
213 const SanitizerMask Supported = setGroupBits(TC.getSupportedSanitizers()); in SanitizerArgs()
217 SanitizerMask TrappingKinds = parseSanitizeTrapArgs(D, Args); in SanitizerArgs()
218 SanitizerMask InvalidTrappingKinds = TrappingKinds & NotAllowedWithTrap; in SanitizerArgs()
225 SanitizerMask Add = parseArgValues(D, Arg, true); in SanitizerArgs()
233 if (SanitizerMask KindsToDiagnose = in SanitizerArgs()
241 if (SanitizerMask KindsToDiagnose = Add & ~Supported & ~DiagnosedKinds) { in SanitizerArgs()
282 SanitizerMask Remove = parseArgValues(D, Arg, true); in SanitizerArgs()
306 SanitizerMask KindsToDiagnose = Kinds & ~TrappingKinds & NeedsUbsanCxxRt; in SanitizerArgs()
321 std::pair<SanitizerMask, SanitizerMask> IncompatibleGroups[] = { in SanitizerArgs()
329 SanitizerMask Group = G.first; in SanitizerArgs()
331 if (SanitizerMask Incompatible = Kinds & G.second) { in SanitizerArgs()
345 SanitizerMask RecoverableKinds = RecoverableByDefault; in SanitizerArgs()
346 SanitizerMask DiagnosedUnrecoverableKinds = 0; in SanitizerArgs()
358 SanitizerMask Add = parseArgValues(D, Arg, true); in SanitizerArgs()
361 if (SanitizerMask KindsToDiagnose = in SanitizerArgs()
641 SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A, in parseArgValues()
650 SanitizerMask Kinds = 0; in parseArgValues()
653 SanitizerMask Kind; in parseArgValues()
694 SanitizerMask Mask) { in lastArgumentForMask()
700 SanitizerMask AddKinds = in lastArgumentForMask()
705 SanitizerMask RemoveKinds = in lastArgumentForMask()
713 std::string describeSanitizeArg(const llvm::opt::Arg *A, SanitizerMask Mask) { in describeSanitizeArg()