Make the test a bit stronger.
This shows that it is really DT_SONAME that is used to detect dups. llvm-svn: 249062
This commit is contained in:
parent
6a3b5ded8a
commit
ff1dcc59d9
|
@ -1,6 +1,7 @@
|
|||
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
||||
// RUN: lld -flavor gnu2 %t.o -shared -soname=bar -o %t.so
|
||||
// RUN: lld -flavor gnu2 %t.o %t.so %t.so -o %t
|
||||
// RUN: lld -flavor gnu2 %t.o -shared -soname=bar -o %t2.so
|
||||
// RUN: lld -flavor gnu2 %t.o %t.so %t2.so -o %t
|
||||
// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
|
||||
|
||||
// CHECK: 0x0000000000000001 NEEDED SharedLibrary (bar)
|
||||
|
|
Loading…
Reference in New Issue