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: [[FILE]]:(symbol _main+0x3): TLV relocation requires that symbol _foo be thread-local6 7.text8.globl _main9_main:10 leaq _foo@TLVP(%rip), %rax11 ret12 13.data14_foo:15