1# REQUIRES: x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 4# RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000 5 6# RUN: ld.lld --just-symbols=%t1.exe -o %t2.exe --cref | FileCheck %s 7 8# CHECK: Symbol File 9# CHECK-NEXT: foo {{.*exe}} 10# CHECK-NEXT: bar {{.*exe}} 11 12.globl foo, bar 13foo: 14 ret 15 16.section .data 17.type bar, @object 18.size bar, 40 19bar: 20 .zero 40 21