diff options
| author | Reid Kleckner <rnk@google.com> | 2017-01-24 17:45:35 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-01-24 17:45:35 +0000 |
| commit | 310c3d3d26b81a816119e2e3d3fc9d03a75ee075 (patch) | |
| tree | c80aafcc372dff81dd693e181b85c80c36d38006 /libcxx/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp | |
| parent | 7784cacd91282e692a2be87015117188fa1990c1 (diff) | |
| download | bcm5719-llvm-310c3d3d26b81a816119e2e3d3fc9d03a75ee075.tar.gz bcm5719-llvm-310c3d3d26b81a816119e2e3d3fc9d03a75ee075.zip | |
Fix pc_array bounds check to use elements instead of bytes
pc_array_size and kPcArrayMaxSize appear to be measured in elements, not
bytes, so we shouldn't multiply idx by sizeof(uptr) in this bounds
check. 32-bit Chrome was tripping this assertion because it has 64
million coverage points. I don't think it's worth adding a test that has
that many coverage points.
llvm-svn: 292955
Diffstat (limited to 'libcxx/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp')
0 files changed, 0 insertions, 0 deletions

