diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-04-04 23:48:06 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-04-04 23:48:06 +0000 |
| commit | 072b1a2d6cba49e3c75b7d8ebd7dacd495d47148 (patch) | |
| tree | f542eb26d2993e06319d007b300ec8aed3aa5144 /clang/test | |
| parent | 3a7fdb7d045f24fd2537b5f2f6ab576e1291ad89 (diff) | |
| download | bcm5719-llvm-072b1a2d6cba49e3c75b7d8ebd7dacd495d47148.tar.gz bcm5719-llvm-072b1a2d6cba49e3c75b7d8ebd7dacd495d47148.zip | |
Enable msan unconditionally on Linux.
Memory sanitizer compatibility are already done in
MemorySanitizer::doInitialization. It verifies whether the necessary offsets
exist and bails out if not. For this reason it is no good to duplicate two
checks in two projects. This patch removes clang check and postpones msan
compatibility validation till MemorySanitizer::doInitialization.
Another reason for this patch is to allow using msan with any CPU (given
compatible runtime) and custom mapping provided via the arguments added by
https://reviews.llvm.org/D44926.
Patch by vit9696.
Differential Revision: https://reviews.llvm.org/D44927
llvm-svn: 329241
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/fsanitize.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/Driver/fsanitize.c b/clang/test/Driver/fsanitize.c index a2f12c69620..7588bf607f7 100644 --- a/clang/test/Driver/fsanitize.c +++ b/clang/test/Driver/fsanitize.c @@ -308,9 +308,6 @@ // CHECK-DIAG1: unsupported argument 'zzz' to option 'fsanitize=' // CHECK-DIAG1-NOT: unsupported argument 'zzz' to option 'fsanitize=' -// RUN: %clang -target i686-linux-gnu -fsanitize=memory %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-MSAN-X86 -// CHECK-MSAN-X86: error: unsupported option '-fsanitize=memory' for target 'i686--linux-gnu' - // RUN: %clang -target x86_64-apple-darwin10 -fsanitize=memory %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-MSAN-DARWIN // CHECK-MSAN-DARWIN: unsupported option '-fsanitize=memory' for target 'x86_64-apple-darwin10' |

