Home
last modified time | relevance | path

Searched refs:SanitizerMask (Results 1 – 15 of 15) sorted by relevance

/external/clang/include/clang/Basic/
DSanitizers.h24 typedef uint64_t SanitizerMask; typedef
40 const SanitizerMask ID = 1ULL << SO_##ID;
42 const SanitizerMask ID = ALIAS; \
43 const SanitizerMask ID##Group = 1ULL << SO_##ID##Group;
50 bool has(SanitizerMask K) const { in has()
56 bool hasOneOf(SanitizerMask K) const { return Mask & K; } in hasOneOf()
59 void set(SanitizerMask K, bool Value) { in set()
71 SanitizerMask Mask = 0;
76 SanitizerMask parseSanitizerValue(StringRef Value, bool AllowGroups);
80 SanitizerMask expandSanitizerGroups(SanitizerMask Kinds);
DAttr.td1686 SanitizerMask getMask() const {
1687 SanitizerMask Mask = 0;
1689 SanitizerMask ParsedMask =
/external/clang/lib/Driver/
DSanitizerArgs.cpp28 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()
[all …]
DCrossWindowsToolChain.cpp112 clang::SanitizerMask CrossWindowsToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
113 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
DToolChains.h564 SanitizerMask getSupportedSanitizers() const override;
639 SanitizerMask getSupportedSanitizers() const override;
640 SanitizerMask getDefaultSanitizers() const override;
770 SanitizerMask getSupportedSanitizers() const override;
841 SanitizerMask getSupportedSanitizers() const override;
1065 SanitizerMask getSupportedSanitizers() const override;
1103 SanitizerMask getSupportedSanitizers() const override;
1214 SanitizerMask getSupportedSanitizers() const override;
DToolChain.cpp685 SanitizerMask ToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
689 SanitizerMask Res = (Undefined & ~Vptr & ~Function) | (CFI & ~CFIICall) | in getSupportedSanitizers()
DMSVCToolChain.cpp692 SanitizerMask MSVCToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
693 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
DToolChains.cpp1256 SanitizerMask Darwin::getSupportedSanitizers() const { in getSupportedSanitizers()
1258 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
3339 SanitizerMask CloudABI::getSupportedSanitizers() const { in getSupportedSanitizers()
3340 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
3345 SanitizerMask CloudABI::getDefaultSanitizers() const { in getDefaultSanitizers()
3540 SanitizerMask FreeBSD::getSupportedSanitizers() const { in getSupportedSanitizers()
3545 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
4668 SanitizerMask Linux::getSupportedSanitizers() const { in getSupportedSanitizers()
4677 SanitizerMask Res = ToolChain::getSupportedSanitizers(); in getSupportedSanitizers()
5134 SanitizerMask PS4CPU::getSupportedSanitizers() const { in getSupportedSanitizers()
[all …]
/external/clang/lib/Basic/
DSanitizers.cpp20 SanitizerMask clang::parseSanitizerValue(StringRef Value, bool AllowGroups) { in parseSanitizerValue()
21 SanitizerMask ParsedKind = llvm::StringSwitch<SanitizerMask>(Value) in parseSanitizerValue()
30 SanitizerMask clang::expandSanitizerGroups(SanitizerMask Kinds) { in expandSanitizerGroups()
/external/clang/include/clang/Driver/
DToolChain.h426 virtual SanitizerMask getSupportedSanitizers() const;
429 virtual SanitizerMask getDefaultSanitizers() const { return 0; } in getDefaultSanitizers()
/external/clang/lib/CodeGen/
DCGExpr.cpp546 SmallVector<std::pair<llvm::Value *, SanitizerMask>, 3> Checks; in EmitTypeCheck()
1338 SanitizerMask Kind = NeedsEnumCheck ? SanitizerKind::Enum : SanitizerKind::Bool; in EmitLoadOfScalar()
2450 static CheckRecoverableKind getRecoverableKind(SanitizerMask Kind) { in getRecoverableKind()
2498 ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked, in EmitCheck()
2603 SanitizerMask Kind, llvm::Value *Cond, llvm::ConstantInt *TypeId, in EmitCfiSlowPathCheck()
2706 const std::pair<int, SanitizerMask> CheckKinds[] = { in EmitCfiCheckFail()
2713 SmallVector<std::pair<llvm::Value *, SanitizerMask>, 5> Checks; in EmitCfiCheckFail()
2716 SanitizerMask Mask = CheckKindMaskPair.second; in EmitCfiCheckFail()
DCGExprScalar.cpp89 void EmitBinOpCheck(ArrayRef<std::pair<Value *, SanitizerMask>> Checks,
928 ArrayRef<std::pair<Value *, SanitizerMask>> Checks, const BinOpInfo &Info) { in EmitBinOpCheck()
2231 SmallVector<std::pair<llvm::Value *, SanitizerMask>, 2> Checks; in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2356 SanitizerMask Kind = isSigned ? SanitizerKind::SignedIntegerOverflow in EmitOverflowCheckedBinOp()
2718 SmallVector<std::pair<Value *, SanitizerMask>, 2> Checks; in EmitShl()
DCodeGenFunction.h3202 void EmitCheck(ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked,
3208 void EmitCfiSlowPathCheck(SanitizerMask Kind, llvm::Value *Cond,
DCGClass.cpp2728 SanitizerMask M; in EmitVTablePtrCheck()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp372 SanitizerMask K = parseSanitizerValue(Sanitizer, /*AllowGroups=*/false); in parseSanitizerKinds()