diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-26 18:22:37 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-26 18:22:37 -0500 |
commit | 236bf91febaa3a7b0c2231a8740968e90aa497c6 (patch) | |
tree | 6bfdfa73aef909e3aec23e739ab889f51c006d7b /sim/common/sim-n-endian.h | |
parent | dea10706e9159ba6e94eab4c25010f3006d033a0 (diff) | |
download | gdb-236bf91febaa3a7b0c2231a8740968e90aa497c6.zip gdb-236bf91febaa3a7b0c2231a8740968e90aa497c6.tar.gz gdb-236bf91febaa3a7b0c2231a8740968e90aa497c6.tar.bz2 |
sim: bfin: avoid stack error under asan
We set up an array of 3 elements and then index into it with a 2bit
value. We check the range before we actually use the pointer, but
the indexing is enough to make asan upset, so just stuff a fourth
value in there to keep things simple.
Diffstat (limited to 'sim/common/sim-n-endian.h')
0 files changed, 0 insertions, 0 deletions