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 %s4 5# CHECK: error: TLV reloc requires MOVQ instruction6 7.text8.globl _main9_main:10 leaq _foo@TLVP(%rip), %rax11 ret12 13.section __DATA,__thread_vars,thread_local_variables14_foo:15