16 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/lazy-symbols.s -o %t13# RUN: rm -f %tar4# RUN: llvm-ar rcs %tar %t15# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t26# RUN: ld.lld %t2 %tar --script %s -o %tout7# RUN: llvm-readobj --symbols %tout | FileCheck %s8 9foo = 1;10 11# This test is to ensure a linker script can define a symbol which have the same12# name as a lazy symbol.13 14# CHECK: Name: foo15# CHECK-NEXT: Value: 0x116