19 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t2# RUN: not llvm-jitlink -slab-allocate 100Kb -slab-address 0xfff00000 -slab-page-size 4096 \3# RUN: -abs var=0x7fff00000000 -noexec %t4#5# Check data access to a external variable out of reach causes an error.6#7 8 .text9 10 .def main;11 .scl 2;12 .type 32;13 .endef14 .globl main 15 .p2align 4, 0x9016main:17 movl var(%rip), %eax18 retq19