Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / MachO / invalid / bad-tlv-opcode.s
blobb6991d352ae9cf1b20382ffea2859dc5c93c3072
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
3 # RUN: not %lld -o /dev/null %t.o 2>&1 | FileCheck %s
5 # CHECK: error: TLV reloc requires MOVQ instruction
7 .text
8 .globl _main
9 _main:
10 leaq _foo@TLVP(%rip), %rax
11 ret
13 .section __DATA,__thread_vars,thread_local_variables
14 _foo: