mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 20:51:35 +00:00
[clang] [MinGW] Allow using the vptr sanitizer
Differential Revision: https://reviews.llvm.org/D90572
This commit is contained in:
parent
076d351e8b
commit
eaae6fdf67
@ -491,6 +491,7 @@ SanitizerMask toolchains::MinGW::getSupportedSanitizers() const {
|
||||
Res |= SanitizerKind::Address;
|
||||
Res |= SanitizerKind::PointerCompare;
|
||||
Res |= SanitizerKind::PointerSubtract;
|
||||
Res |= SanitizerKind::Vptr;
|
||||
return Res;
|
||||
}
|
||||
|
||||
|
@ -9,3 +9,5 @@
|
||||
// ASAN-X86_64: "{{[^"]*}}libclang_rt.asan_dynamic_runtime_thunk-x86_64.a"
|
||||
// ASAN-X86_64: "--require-defined" "__asan_seh_interceptor"
|
||||
// ASAN-X86_64: "--whole-archive" "{{.*}}libclang_rt.asan_dynamic_runtime_thunk-x86_64.a" "--no-whole-archive"
|
||||
|
||||
// RUN: %clang -target x86_64-windows-gnu %s -### -fsanitize=vptr
|
||||
|
Loading…
x
Reference in New Issue
Block a user