[lld] 1ba8be3 - [lld-macho][test] Correct a mismatched adrp-add pair

Daniel Bertalan via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 4 01:17:44 PDT 2022


Author: Daniel Bertalan
Date: 2022-09-04T10:08:03+02:00
New Revision: 1ba8be315d924fb44ed1303d7e18f69d0ff6aa42

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

LOG: [lld-macho][test] Correct a mismatched adrp-add pair

Added: 
    

Modified: 
    lld/test/MachO/loh-adrp-add-ldr.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/loh-adrp-add-ldr.s b/lld/test/MachO/loh-adrp-add-ldr.s
index c844917195613..b8d3cf9a1a0fd 100644
--- a/lld/test/MachO/loh-adrp-add-ldr.s
+++ b/lld/test/MachO/loh-adrp-add-ldr.s
@@ -87,7 +87,7 @@ L27: ldrsb x2, [x1]
 
 ## Unaligned
 L28: adrp x0, _unaligned at PAGE
-L29: add  x1, x0, _close at PAGEOFF
+L29: add  x1, x0, _unaligned at PAGEOFF
 L30: ldr  x2, [x1]
 # CHECK-NEXT: adr x1
 # CHECK-NEXT: nop


        


More information about the llvm-commits mailing list