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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld

Author: Jacek Caban (cjacek)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/129403.diff


2 Files Affected:

- (modified) lld/test/COFF/autoimport-arm64-data.s (+1-1) 
- (modified) lld/test/COFF/autoimport-arm64ec-data.test (+2-2) 


``````````diff
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

``````````

</details>


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


More information about the llvm-commits mailing list