Lines Matching refs:SanitizerMask

28 enum : SanitizerMask {
58 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
71 SanitizerMask Mask);
78 SanitizerMask Mask);
84 static bool getDefaultBlacklist(const Driver &D, SanitizerMask Kinds, in getDefaultBlacklist()
109 static SanitizerMask setGroupBits(SanitizerMask Kinds) { in setGroupBits()
118 static SanitizerMask parseSanitizeTrapArgs(const Driver &D, in parseSanitizeTrapArgs()
120 SanitizerMask TrapRemove = 0; // During the loop below, the accumulated set of in parseSanitizeTrapArgs()
123 SanitizerMask TrappingKinds = 0; in parseSanitizeTrapArgs()
124 SanitizerMask TrappingSupportedWithGroups = setGroupBits(TrappingSupported); in parseSanitizeTrapArgs()
131 SanitizerMask Add = parseArgValues(D, Arg, true); in parseSanitizeTrapArgs()
133 if (SanitizerMask InvalidValues = Add & ~TrappingSupportedWithGroups) { in parseSanitizeTrapArgs()
186 SanitizerMask AllRemove = 0; // During the loop below, the accumulated set of in SanitizerArgs()
189 SanitizerMask AllAddedKinds = 0; // Mask of all sanitizers ever enabled by in SanitizerArgs()
194 SanitizerMask DiagnosedKinds = 0; // All Kinds we have diagnosed up to now. in SanitizerArgs()
196 SanitizerMask Kinds = 0; in SanitizerArgs()
197 const SanitizerMask Supported = setGroupBits(TC.getSupportedSanitizers()); in SanitizerArgs()
201 SanitizerMask TrappingKinds = parseSanitizeTrapArgs(D, Args); in SanitizerArgs()
202 SanitizerMask InvalidTrappingKinds = TrappingKinds & NotAllowedWithTrap; in SanitizerArgs()
209 SanitizerMask Add = parseArgValues(D, Arg, true); in SanitizerArgs()
217 if (SanitizerMask KindsToDiagnose = in SanitizerArgs()
225 if (SanitizerMask KindsToDiagnose = Add & ~Supported & ~DiagnosedKinds) { in SanitizerArgs()
266 SanitizerMask Remove = parseArgValues(D, Arg, true); in SanitizerArgs()
293 SanitizerMask KindsToDiagnose = Kinds & ~TrappingKinds & NeedsUbsanCxxRt; in SanitizerArgs()
308 std::pair<SanitizerMask, SanitizerMask> IncompatibleGroups[] = { in SanitizerArgs()
321 SanitizerMask Group = G.first; in SanitizerArgs()
323 if (SanitizerMask Incompatible = Kinds & G.second) { in SanitizerArgs()
337 SanitizerMask RecoverableKinds = RecoverableByDefault; in SanitizerArgs()
338 SanitizerMask DiagnosedUnrecoverableKinds = 0; in SanitizerArgs()
352 SanitizerMask Add = parseArgValues(D, Arg, true); in SanitizerArgs()
355 if (SanitizerMask KindsToDiagnose = in SanitizerArgs()
709 SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A, in parseArgValues()
718 SanitizerMask Kinds = 0; in parseArgValues()
721 SanitizerMask Kind; in parseArgValues()
767 SanitizerMask Mask) { in lastArgumentForMask()
773 SanitizerMask AddKinds = in lastArgumentForMask()
778 SanitizerMask RemoveKinds = in lastArgumentForMask()
786 std::string describeSanitizeArg(const llvm::opt::Arg *A, SanitizerMask Mask) { in describeSanitizeArg()