[llvm] 55e71c0 - Improve test to include multiple fragments and PATCHINST relocations.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 12:51:14 PDT 2025


Author: Peter Collingbourne
Date: 2025-08-11T12:50:39-07:00
New Revision: 55e71c0b145b40f48f882bd439a6fa99b761d541

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

LOG: Improve test to include multiple fragments and PATCHINST relocations.

Added: 
    

Modified: 
    llvm/test/MC/AArch64/patchinst.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AArch64/patchinst.s b/llvm/test/MC/AArch64/patchinst.s
index 336f70fe14033..fbfb66ac3f27f 100644
--- a/llvm/test/MC/AArch64/patchinst.s
+++ b/llvm/test/MC/AArch64/patchinst.s
@@ -2,6 +2,11 @@
 
 // Test that PATCHINST appears after JUMP26.
 // CHECK:      R_AARCH64_JUMP26
+// CHECK-NEXT: R_AARCH64_JUMP26
+// CHECK-NEXT: R_AARCH64_PATCHINST
 // CHECK-NEXT: R_AARCH64_PATCHINST
 .reloc ., R_AARCH64_PATCHINST, ds
 b f1
+.balign 8
+.reloc ., R_AARCH64_PATCHINST, ds
+b f2


        


More information about the llvm-commits mailing list