hwasan: Update register-dump-read.c test to reserve x23 instead of x20.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 16 Jan 2021 00:07:21 +0000 (16:07 -0800)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 16 Jan 2021 00:14:36 +0000 (16:14 -0800)
commitd302398ff05f6d2bfbcb5c4fdafccf8a0e3b9875
tree79964ae2a68622b5595bdfdc34a52334a97e4187
parent187d771d27ed9059675b53e92e8fb8aeee9c43d8
hwasan: Update register-dump-read.c test to reserve x23 instead of x20.

D90422 changed this test to write a fixed value into register x23
instead of x20, but it did not update the list of reserved registers.
This meant that x23 may have been live across the register write,
although this happens to not be the case with the current compiler.
Fix the problem by updating the reserved register list.
compiler-rt/test/hwasan/TestCases/register-dump-read.c