13 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o3# RUN: ld.lld --noinhibit-exec %t.o -o %t 2>&14# RUN: llvm-objdump --no-print-imm-hex -d %t | FileCheck %s5 6## Undefined TLS symbols resolve to 0.7## In --noinhibit-exec mode, a non-weak undefined symbol is not an error.8 9# CHECK: leaq 32(%rax), %rdx10 11movq %fs:0, %rax12leaq global@tpoff+32(%rax), %rdx13