diff options
| author | Jan Korous <jkorous@apple.com> | 2019-10-08 18:13:04 +0000 |
|---|---|---|
| committer | Jan Korous <jkorous@apple.com> | 2019-10-08 18:13:04 +0000 |
| commit | 135f2f01a2d9f58546846894ac63417a0264b9f6 (patch) | |
| tree | 630d6885f14182a4da1589c533b938808dba91fb /clang/test/CodeGen | |
| parent | 6334a59454ef934f08731d536c7352e97af31d3f (diff) | |
| download | bcm5719-llvm-135f2f01a2d9f58546846894ac63417a0264b9f6.tar.gz bcm5719-llvm-135f2f01a2d9f58546846894ac63417a0264b9f6.zip | |
[NFC] Attempt to make ubsan-blacklist-vfs test pass on Windows
Previously disabled in d0c2d5daa3e
llvm-svn: 374098
Diffstat (limited to 'clang/test/CodeGen')
| -rw-r--r-- | clang/test/CodeGen/ubsan-blacklist-vfs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/test/CodeGen/ubsan-blacklist-vfs.c b/clang/test/CodeGen/ubsan-blacklist-vfs.c index c076eec95a4..a6dafb658c0 100644 --- a/clang/test/CodeGen/ubsan-blacklist-vfs.c +++ b/clang/test/CodeGen/ubsan-blacklist-vfs.c @@ -1,5 +1,3 @@ -// UNSUPPORTED: system-windows - // Verify ubsan doesn't emit checks for blacklisted functions and files // RUN: echo "fun:hash" > %t-func.blacklist // RUN: echo "src:%s" | sed -e 's/\\/\\\\/g' > %t-file.blacklist @@ -7,9 +5,9 @@ // RUN: rm -f %t-vfsoverlay.yaml // RUN: rm -f %t-nonexistent.blacklist // RUN: sed -e "s|@DIR@|%/T|g" %S/Inputs/sanitizer-blacklist-vfsoverlay.yaml | sed -e "s|@REAL_FILE@|%/t-func.blacklist|g" | sed -e "s|@NONEXISTENT_FILE@|%/t-nonexistent.blacklist|g" > %t-vfsoverlay.yaml -// RUN: %clang_cc1 -fsanitize=unsigned-integer-overflow -ivfsoverlay %t-vfsoverlay.yaml -fsanitize-blacklist=%T/only-virtual-file.blacklist -emit-llvm %s -o - | FileCheck %s --check-prefix=FUNC +// RUN: %clang_cc1 -fsanitize=unsigned-integer-overflow -ivfsoverlay %t-vfsoverlay.yaml -fsanitize-blacklist=%/T/only-virtual-file.blacklist -emit-llvm %s -o - | FileCheck %s --check-prefix=FUNC -// RUN: not %clang_cc1 -fsanitize=unsigned-integer-overflow -ivfsoverlay %t-vfsoverlay.yaml -fsanitize-blacklist=%T/invalid-virtual-file.blacklist -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=INVALID-MAPPED-FILE +// RUN: not %clang_cc1 -fsanitize=unsigned-integer-overflow -ivfsoverlay %t-vfsoverlay.yaml -fsanitize-blacklist=%/T/invalid-virtual-file.blacklist -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=INVALID-MAPPED-FILE // INVALID-MAPPED-FILE: invalid-virtual-file.blacklist': No such file or directory // RUN: not %clang_cc1 -fsanitize=unsigned-integer-overflow -ivfsoverlay %t-vfsoverlay.yaml -fsanitize-blacklist=%t-nonexistent.blacklist -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=INVALID |

