summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-01-24 17:45:35 +0000
committerReid Kleckner <rnk@google.com>2017-01-24 17:45:35 +0000
commit310c3d3d26b81a816119e2e3d3fc9d03a75ee075 (patch)
treec80aafcc372dff81dd693e181b85c80c36d38006 /libcxx/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp
parent7784cacd91282e692a2be87015117188fa1990c1 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud