[compiler-rt] r367873 - Try to fix OOB tests on at least Windows after r367642
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 08:04:20 PDT 2019
Author: nico
Date: Mon Aug 5 08:04:20 2019
New Revision: 367873
URL: http://llvm.org/viewvc/llvm-project?rev=367873&view=rev
Log:
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.
Modified:
compiler-rt/trunk/lib/asan/tests/asan_oob_test.cpp
Modified: compiler-rt/trunk/lib/asan/tests/asan_oob_test.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_oob_test.cpp?rev=367873&r1=367872&r2=367873&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_oob_test.cpp (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_oob_test.cpp Mon Aug 5 08:04:20 2019
@@ -37,7 +37,7 @@ static std::string GetLeftOOBMessage(int
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;
}
More information about the llvm-commits
mailing list