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

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 2 04:10:05 PST 2025


Author: Jacek Caban
Date: 2025-03-02T13:10:01+01:00
New Revision: f858ac7acc33ac6c1a32510b9938d63a59276cc2

URL: https://github.com/llvm/llvm-project/commit/f858ac7acc33ac6c1a32510b9938d63a59276cc2
DIFF: https://github.com/llvm/llvm-project/commit/f858ac7acc33ac6c1a32510b9938d63a59276cc2.diff

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

Added: 
    

Modified: 
    lld/test/COFF/autoimport-arm64-data.s
    lld/test/COFF/autoimport-arm64ec-data.test

Removed: 
    


################################################################################
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