Skip to content

Commit d340605

Browse files
committedJun 16, 2017
[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 llvm-svn: 305580
1 parent 0b1190a commit d340605

File tree

1 file changed

+1
-1
lines changed
  • compiler-rt/test/asan/TestCases/Windows

1 file changed

+1
-1
lines changed
 

‎compiler-rt/test/asan/TestCases/Windows/oom.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ int main() {
88
while (true) {
99
void *ptr = malloc(200 * 1024 * 1024); // 200MB
1010
}
11-
// CHECK: failed to allocate
11+
// CHECK: allocator is terminating the process instead of returning 0
1212
}

0 commit comments

Comments
 (0)
Please sign in to comment.