summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveRangeCalc.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-08-03 01:19:46 +0000
committerReid Kleckner <rnk@google.com>2016-08-03 01:19:46 +0000
commit9f0ef011979a94fb435f697f7853d2804771af20 (patch)
tree4c86eb471ff65c3fcd6118cb30ddf07f33881e09 /llvm/lib/CodeGen/LiveRangeCalc.h
parent8562d3a5e44ce7b5755eb9a28c8f57dba7b1e507 (diff)
downloadbcm5719-llvm-9f0ef011979a94fb435f697f7853d2804771af20.tar.gz
bcm5719-llvm-9f0ef011979a94fb435f697f7853d2804771af20.zip
Reduce coverage PC buffer size on 32-bit Windows to match 32-bit Linux
In r235779, Timur bumped the buffer size up to 1<<27, or about 134 million coverage points, presumably to handle Chrome. We allocate two arrays of uptrs with this size, and this reliably exhausts all available address space on 32-bit Windows (2 allocations of 512MB) when ASan is also enabled. Let's reduce the buffer size for now to stabilize the test suite. We can re-evaluate the approach later when we've brought the Chrome ASan builders back to life. Kostya said that Mike reduced the number of instrumented coverage points that LLVM emits by half since Timur made this change, so reducing this array size should also be safe. With this change, the 32-bit ASan tests reliably pass for me on Windows 10. llvm-svn: 277558
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeCalc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud