| commit | cb42ea0b4f9562c3e715d2e22bddf114d7da7c5d | [log] [tgz] |
|---|---|---|
| author | Reid Kleckner <rnk@google.com> | Tue Jul 26 17:59:09 2016 +0000 |
| committer | Reid Kleckner <rnk@google.com> | Tue Jul 26 17:59:09 2016 +0000 |
| tree | 4d614aad9636a6637fd9c709e1b9811d799413ba | |
| parent | 276b4e642845c3edd379a2a671f8314e38a864cb [diff] |
[sanitizer] Try to fix LargeMmapAllocator test on Windows This test attempts to allocate 100 512MB aligned pages of memory. This is implemented in the usual way by allocating size + alignment bytes and aligning the result. As a result, this test allocates 51.2GB of memory. Windows allocates swap for all memory allocated, and our bots do not have this much swap available. Avoid the failure by using a more reasonable alignment, like 16MB, as we do on 32-bit. llvm-svn: 276779