diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-06-16 20:36:39 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-06-16 20:36:39 +0000 |
commit | f91b4c62913375ae7f6c0a16e7edd9f0f2b2a443 (patch) | |
tree | 68742dfaf9c3ded8c1e8423c021db0c8deb9eca5 | |
parent | 03a96b718d30e9b878100923745658c370916a40 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@305580 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/asan/TestCases/Windows/oom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/Windows/oom.cc b/test/asan/TestCases/Windows/oom.cc index 59cc7ed0e..71a9c2a75 100644 --- a/test/asan/TestCases/Windows/oom.cc +++ b/test/asan/TestCases/Windows/oom.cc @@ -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 } |