• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3// RUN: ld.lld %t.o -shared -soname=bar -o %t.so
4// RUN: ld.lld %t.o -shared --soname=bar -o %t2.so
5// RUN: ld.lld %t.o %t.so %t2.so -o %t
6// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
7
8// CHECK:  0x0000000000000001 NEEDED               Shared library: [bar]
9// CHECK-NOT: NEEDED
10
11.global _start
12_start:
13