aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-n-endian.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-26 18:22:37 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-26 18:22:37 -0500
commit236bf91febaa3a7b0c2231a8740968e90aa497c6 (patch)
tree6bfdfa73aef909e3aec23e739ab889f51c006d7b /sim/common/sim-n-endian.h
parentdea10706e9159ba6e94eab4c25010f3006d033a0 (diff)
downloadgdb-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