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