[all-commits] [llvm/llvm-project] d30239: hwasan: Update register-dump-read.c test to reserv...

pcc via All-commits all-commits at lists.llvm.org
Fri Jan 15 16:15:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d302398ff05f6d2bfbcb5c4fdafccf8a0e3b9875
      https://github.com/llvm/llvm-project/commit/d302398ff05f6d2bfbcb5c4fdafccf8a0e3b9875
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/register-dump-read.c

  Log Message:
  -----------
  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.




More information about the All-commits mailing list