[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:35:19 PDT 2017
alekseyshl created this revision.
Herald added a subscriber: kubamracek.
Point of failure is different after https://reviews.llvm.org/D34243, hence the change of the
message.
https://reviews.llvm.org/D34292
Files:
test/asan/TestCases/Windows/oom.cc
Index: test/asan/TestCases/Windows/oom.cc
===================================================================
--- test/asan/TestCases/Windows/oom.cc
+++ 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.102865.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170616/9dddd326/attachment.bin>
More information about the llvm-commits
mailing list