brintos

brintos / llvm-project-archived public Read only

0
0
Text · 388 B · 8934bc8 Raw
15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o3# RUN: not %lld -o /dev/null %t.o 2>&1 | FileCheck %s -DFILE=%t.o4 5# CHECK: error: [[FILE]]:(symbol _main+0x3): GOT_LOAD relocation requires that symbol _foo not be thread-local6 7.text8.globl _main9_main:10  movq _foo@GOTPCREL(%rip), %rax11  ret12 13.section __DATA,__thread_vars,thread_local_variables14_foo:15