clang 20.0.0git
|
Defines the clang::SanitizerKind enum. More...
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/HashBuilder.h"
#include "llvm/Transforms/Instrumentation/AddressSanitizerOptions.h"
#include <cassert>
#include <cstdint>
#include "clang/Basic/Sanitizers.def"
Go to the source code of this file.
Classes | |
class | clang::SanitizerMask |
struct | clang::SanitizerKind |
struct | clang::SanitizerSet |
Namespaces | |
namespace | llvm |
Diagnostic wrappers for TextAPI types for error reporting. | |
namespace | llvm::opt |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
Macros | |
#define | SANITIZER(NAME, ID) SO_##ID, |
#define | SANITIZER_GROUP(NAME, ID, ALIAS) SO_##ID##Group, |
#define | SANITIZER(NAME, ID) |
#define | SANITIZER_GROUP(NAME, ID, ALIAS) |
Functions | |
llvm::hash_code | clang::hash_value (const clang::SanitizerMask &Arg) |
SanitizerMask | clang::parseSanitizerValue (StringRef Value, bool AllowGroups) |
Parse a single value from a -fsanitize= or -fno-sanitize= value list. | |
void | clang::serializeSanitizerSet (SanitizerSet Set, SmallVectorImpl< StringRef > &Values) |
Serialize a SanitizerSet into values for -fsanitize= or -fno-sanitize=. | |
SanitizerMask | clang::expandSanitizerGroups (SanitizerMask Kinds) |
For each sanitizer group bit set in Kinds , set the bits for sanitizers this group enables. | |
SanitizerMask | clang::getPPTransparentSanitizers () |
Return the sanitizers which do not affect preprocessing. | |
StringRef | clang::AsanDtorKindToString (llvm::AsanDtorKind kind) |
llvm::AsanDtorKind | clang::AsanDtorKindFromString (StringRef kind) |
StringRef | clang::AsanDetectStackUseAfterReturnModeToString (llvm::AsanDetectStackUseAfterReturnMode mode) |
llvm::AsanDetectStackUseAfterReturnMode | clang::AsanDetectStackUseAfterReturnModeFromString (StringRef modeStr) |
Defines the clang::SanitizerKind enum.
Definition in file Sanitizers.h.
Definition at line 145 of file Sanitizers.h.
#define SANITIZER | ( | NAME, | |
ID | |||
) |
Definition at line 145 of file Sanitizers.h.
Definition at line 148 of file Sanitizers.h.
Definition at line 148 of file Sanitizers.h.