diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-10-19 15:32:08 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-10-25 14:51:44 -0400 |
commit | d9f82e931394efed68858eb7c7bb5832ad888482 (patch) | |
tree | 2c8d23aac0b396bcfe433a26f16c2d80e9650423 /gdb | |
parent | 61d7f128e6ea37af805be4e365f5879b0d42bb93 (diff) | |
download | gdb-d9f82e931394efed68858eb7c7bb5832ad888482.zip gdb-d9f82e931394efed68858eb7c7bb5832ad888482.tar.gz gdb-d9f82e931394efed68858eb7c7bb5832ad888482.tar.bz2 |
gdbsupport: add assertions in array_view
Add assertions to ensure we don't access an array_view out of bounds.
Enable these assertions only when _GLIBCXX_DEBUG is set, as we did for
gdb::optional.
Change-Id: Iffaee38252405073735ed123c8e57fde6b2c6be3
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions