[PATCH] D34292: [Sanitizers] Fix allocator OOM test on Windows.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 13:37:18 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305580: [Sanitizers] Fix allocator OOM test on Windows. (authored by alekseyshl).

Changed prior to commit:
  https://reviews.llvm.org/D34292?vs=102865&id=102866#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34292

Files:
  compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc


Index: compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc
+++ compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc
@@ -8,5 +8,5 @@
   while (true) {
     void *ptr = malloc(200 * 1024 * 1024);  // 200MB
   }
-// CHECK: failed to allocate
+// CHECK: allocator is terminating the process instead of returning 0
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34292.102866.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170616/b59e3a8a/attachment.bin>


More information about the llvm-commits mailing list