[compiler-rt] r305580 - [Sanitizers] Fix allocator OOM test on Windows.
Alex Shlyapnikov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 13:36:39 PDT 2017
Author: alekseyshl
Date: Fri Jun 16 15:36:39 2017
New Revision: 305580
URL: http://llvm.org/viewvc/llvm-project?rev=305580&view=rev
Log:
[Sanitizers] Fix allocator OOM test on Windows.
Summary:
Point of failure is different after D34243, hence the change of the
message.
Reviewers: eugenis
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D34292
Modified:
compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc?rev=305580&r1=305579&r2=305580&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc Fri Jun 16 15:36:39 2017
@@ -8,5 +8,5 @@ int main() {
while (true) {
void *ptr = malloc(200 * 1024 * 1024); // 200MB
}
-// CHECK: failed to allocate
+// CHECK: allocator is terminating the process instead of returning 0
}
More information about the llvm-commits
mailing list