21 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.obj4# RUN: lld-link -lldmingw -out:%t.exe -entry:main %t.obj -verbose5 6# RUN: llvm-objdump -s %t.exe | FileCheck --check-prefix=CONTENTS %s7 8# Even if we didn't actually write any pseudo relocations,9# check that the synthetic pointers still are set to a non-null value10# CONTENTS: Contents of section .data:11# CONTENTS: 140003000 00200040 01000000 00200040 0100000012 13 .global main14 .text15main:16 retq17 .data18relocs:19 .quad __RUNTIME_PSEUDO_RELOC_LIST__20 .quad __RUNTIME_PSEUDO_RELOC_LIST_END__21