1# REQUIRES: x86 2 3# RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.obj 4# RUN: lld-link -lldmingw -out:%t.exe -entry:main %t.obj -verbose 5 6# RUN: llvm-objdump -s %t.exe | FileCheck --check-prefix=CONTENTS %s 7 8# Even if we didn't actually write any pseudo relocations, 9# check that the synthetic pointers still are set to a non-null value 10# CONTENTS: Contents of section .data: 11# CONTENTS: 140003000 00200040 01000000 00200040 01000000 12 13 .global main 14 .text 15main: 16 retq 17 .data 18relocs: 19 .quad __RUNTIME_PSEUDO_RELOC_LIST__ 20 .quad __RUNTIME_PSEUDO_RELOC_LIST_END__ 21