[llvm] 2367a7b - [JITLink][MachO][arm64] Use a more descriptive test name.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 12:19:20 PDT 2021


Author: Lang Hames
Date: 2021-05-25T12:19:08-07:00
New Revision: 2367a7bdab36cf9c51b4d2b1d726f46ed5b1a2c6

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

LOG: [JITLink][MachO][arm64] Use a more descriptive test name.

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_relocations.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_relocations.s b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_relocations.s
index 165e53e40cf3d..e09857ffc74cd 100644
--- a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_relocations.s
+++ b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_relocations.s
@@ -39,14 +39,17 @@ _main:
 # within the page.
 #
 # jitlink-check: *{8}(got_addr(macho_reloc.o, external_data)) = external_data
-# jitlink-check: decode_operand(test_gotpage21, 1) = (got_addr(macho_reloc.o, external_data)[32:12] - test_gotpage21[32:12])
-# jitlink-check: decode_operand(test_gotpageoff12, 2) = got_addr(macho_reloc.o, external_data)[11:3]
-        .globl  test_gotpage21
+# jitlink-check: decode_operand(test_gotpage21_external, 1) = \
+# jitlink-check:     (got_addr(macho_reloc.o, external_data)[32:12] - \
+# jitlink-check:        test_gotpage21_external[32:12])
+# jitlink-check: decode_operand(test_gotpageoff12_external, 2) = \
+# jitlink-check:     got_addr(macho_reloc.o, external_data)[11:3]
+        .globl  test_gotpage21_external
         .p2align  2
-test_gotpage21:
+test_gotpage21_external:
         adrp  x0, external_data at GOTPAGE
-        .globl  test_gotpageoff12
-test_gotpageoff12:
+        .globl  test_gotpageoff12_external
+test_gotpageoff12_external:
         ldr   x0, [x0, external_data at GOTPAGEOFF]
 
 # Check ARM64_RELOC_PAGE21 / ARM64_RELOC_PAGEOFF12 handling with a reference to


        


More information about the llvm-commits mailing list