15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: ld.lld %t.o -o %t4# RUN: llvm-objdump --no-print-imm-hex -t -d %t | FileCheck %s5 6.global _start7_start:8 movl $1, sym1(%rip)9 10.global sym111.comm sym1,4,412 13# CHECK: 0000000000202164 g O .bss 0000000000000004 sym114# CHECK: 201158: {{.*}} movl $1, 4098(%rip)15