1# RUN: llvm-mc -triple=arm64-apple-darwin19 -filetype=obj -o %t.o %s 2# RUN: llvm-jitlink -noexec -phony-externals %t.o 3# 4# Use RW- empty space sufficient to push the R-- and R-X segments more than 5# 2^20 bytes apart. This will cause the LDRLiteral19 relocations from the STUB 6# section to the GOT to overflow if not handled correctly. 7 8 .section __TEXT,__text,regular,pure_instructions 9 .ios_version_min 7, 0 sdk_version 16, 0 10 .globl _main 11 .p2align 2 12_main: 13 b _foo 14 15 .comm _empty_space,2097152,0 16 17.subsections_via_symbols 18