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 | d340605a37379d09d7c1c0ef6d3c8defe46091c4 (patch) | |
| tree | 725aaca2c6bfb0647ead37508c7c44757e8df1cd | |
| parent | 0b1190aa8d94d504a685363e524da3ae35cf8f6a (diff) | |
| download | bcm5719-llvm-d340605a37379d09d7c1c0ef6d3c8defe46091c4.tar.gz bcm5719-llvm-d340605a37379d09d7c1c0ef6d3c8defe46091c4.zip | |
[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
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Windows/oom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Windows/oom.cc b/compiler-rt/test/asan/TestCases/Windows/oom.cc index 59cc7ed0e9d..71a9c2a759a 100644 --- a/compiler-rt/test/asan/TestCases/Windows/oom.cc +++ b/compiler-rt/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 } |

