summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-05 15:04:20 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-05 15:04:20 +0000
commit997d626de6e33fd8632356973952e196b0b155cf (patch)
treeb02400db75085dd9c56652a73090071bf6863cf7 /compiler-rt/lib/asan
parent0e0a1c80fb12e93fc92107346c9b65473ac261ef (diff)
downloadbcm5719-llvm-997d626de6e33fd8632356973952e196b0b155cf.tar.gz
bcm5719-llvm-997d626de6e33fd8632356973952e196b0b155cf.zip
Try to fix OOB tests on at least Windows after r367642
gtest's built-in regex engine doesn't support (). Looks like it's not needed, just remove it. See PR42868 for more details. llvm-svn: 367873
Diffstat (limited to 'compiler-rt/lib/asan')
-rw-r--r--compiler-rt/lib/asan/tests/asan_oob_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_oob_test.cpp b/compiler-rt/lib/asan/tests/asan_oob_test.cpp
index 58acc1b6de1..421bd041ea2 100644
--- a/compiler-rt/lib/asan/tests/asan_oob_test.cpp
+++ b/compiler-rt/lib/asan/tests/asan_oob_test.cpp
@@ -37,7 +37,7 @@ static std::string GetLeftOOBMessage(int off) {
static std::string GetRightOOBMessage(int off) {
char str[100];
// FIXME: Fix PR42868 and remove SEGV match.
- sprintf(str, "(is located.*%d byte.*to the right|SEGV)", off);
+ sprintf(str, "is located.*%d byte.*to the right|SEGV", off);
return str;
}
OpenPOWER on IntegriCloud