[lld] [LLD][COFF] Correct relocation size comments in autoimport tests (NFC) (PR #129403)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 1 13:42:01 PST 2025


https://github.com/cjacek created https://github.com/llvm/llvm-project/pull/129403

None

>From 0a1525e44341acdb84d54fc12847bcb0ea74b204 Mon Sep 17 00:00:00 2001
From: Jacek Caban <jacek at codeweavers.com>
Date: Sat, 1 Mar 2025 22:41:00 +0100
Subject: [PATCH] [LLD][COFF] Correct relocation size comments in autoimport
 tests (NFC)

---
 lld/test/COFF/autoimport-arm64-data.s      | 2 +-
 lld/test/COFF/autoimport-arm64ec-data.test | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lld/test/COFF/autoimport-arm64-data.s b/lld/test/COFF/autoimport-arm64-data.s
index b49bd4f89c97c..7934e2a969257 100644
--- a/lld/test/COFF/autoimport-arm64-data.s
+++ b/lld/test/COFF/autoimport-arm64-data.s
@@ -19,7 +19,7 @@
 
 # Runtime pseudo reloc list header consisting of 0x0, 0x0, 0x1.
 # First runtime pseudo reloc, with import from 0x2070,
-# applied at 0x3000, with a size of 32 bits.
+# applied at 0x3000, with a size of 64 bits.
 # CONTENTS: Contents of section .rdata:
 # CONTENTS:  140002000 00000000 00000000 01000000 70200000
 # CONTENTS:  140002010 00300000 40000000
diff --git a/lld/test/COFF/autoimport-arm64ec-data.test b/lld/test/COFF/autoimport-arm64ec-data.test
index 4d71b55f651a6..1f22ca4917557 100644
--- a/lld/test/COFF/autoimport-arm64ec-data.test
+++ b/lld/test/COFF/autoimport-arm64ec-data.test
@@ -19,9 +19,9 @@ IMPORTS-NEXT: }
 
 Runtime pseudo relocation list header at 0x401c, consisting of 0x0, 0x0, 0x1.
 The first runtime pseudo relocation is from an x86_64 object file, with import
-from 0x3000, applied at 0x7000 with a size of 32 bits. The second pseudo
+from 0x3000, applied at 0x7000 with a size of 64 bits. The second pseudo
 relocation is from an ARM64EC object file, with import from 0x3000, applied
-at 0x7008 with a size of 32 bits.
+at 0x7008 with a size of 64 bits.
 
 CONTENTS: Contents of section .rdata:
 CONTENTS:  180004010 00200000 10200000 00200000 00000000



More information about the llvm-commits mailing list