[compiler-rt] [compiler-rt] DumpAllRegisters for windows arm64 fix unit test (PR #112329)

David CARLIER via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 01:08:32 PDT 2024


https://github.com/devnexen created https://github.com/llvm/llvm-project/pull/112329

None

>From 102bb6fa322d5e5a00ad022ea4f41e34e3f10be8 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen at gmail.com>
Date: Tue, 15 Oct 2024 09:07:52 +0100
Subject: [PATCH] [compiler-rt] DumpAllRegisters for windows arm64 fix unit
 test

---
 .../TestCases/Windows/dump_registers_aarch64.cpp                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/test/sanitizer_common/TestCases/Windows/dump_registers_aarch64.cpp b/compiler-rt/test/sanitizer_common/TestCases/Windows/dump_registers_aarch64.cpp
index f4805640d682b0..064b125d3c330e 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Windows/dump_registers_aarch64.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Windows/dump_registers_aarch64.cpp
@@ -17,7 +17,7 @@ int main() {
   // CHECK-DUMP-NEXT:x16 = {{0x[0-9a-f]+}}  x17 = {{0x[0-9a-f]+}}  x18 = {{0x[0-9a-f]+}}  x19 = {{0x[0-9a-f]+}}
   // CHECK-DUMP-NEXT:x20 = {{0x[0-9a-f]+}}  x21 = {{0x[0-9a-f]+}}  x22 = {{0x[0-9a-f]+}}  x23 = {{0x[0-9a-f]+}}
   // CHECK-DUMP-NEXT:x24 = {{0x[0-9a-f]+}}  x25 = {{0x[0-9a-f]+}}  x26 = {{0x[0-9a-f]+}}  x27 = {{0x[0-9a-f]+}}
-  // CHECK-DUMP-NEXT:x28 = {{0x[0-9a-f]+}}   fp = {{0x[0-9a-f]+}}   lr = {{0x[0-9a-f]+}}   sp = {{0x[0-9a-f]+}}
+  // CHECK-DUMP-NEXT:x28 = {{0x[0-9a-f]+}}  x29 = {{0x[0-9a-f]+}}  x30 = {{0x[0-9a-f]+}}
   // CHECK-NODUMP-NOT: Register values
   return 0;
 }



More information about the llvm-commits mailing list