mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 03:44:59 +00:00
[Driver] Allow -fsanitize=kcfi with -fsanitize-minimal-runtime
Having both UBSan with the minimal runtime and KCFI enabled can be useful in low-level software. As there are no conflicts between the flags, add KCFI to the list of compatible sanitizers.
This commit is contained in:
parent
bacb14b9f3
commit
5a64a826b9
@ -77,7 +77,7 @@ static const SanitizerMask CFIClasses =
|
||||
static const SanitizerMask CompatibleWithMinimalRuntime =
|
||||
TrappingSupported | SanitizerKind::Scudo | SanitizerKind::ShadowCallStack |
|
||||
SanitizerKind::MemtagStack | SanitizerKind::MemtagHeap |
|
||||
SanitizerKind::MemtagGlobals;
|
||||
SanitizerKind::MemtagGlobals | SanitizerKind::KCFI;
|
||||
|
||||
enum CoverageFeature {
|
||||
CoverageFunc = 1 << 0,
|
||||
|
Loading…
Reference in New Issue
Block a user