diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-01 20:04:31 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-01 20:04:31 +0000 |
| commit | ff1dcc59d99a9341cff7295c407dad93101a9b3c (patch) | |
| tree | f6e319be23c773f9850617d47789aef5fbb47779 | |
| parent | 6a3b5ded8a5651e387f96b5d2f24800f3e0fc5e6 (diff) | |
| download | bcm5719-llvm-ff1dcc59d99a9341cff7295c407dad93101a9b3c.tar.gz bcm5719-llvm-ff1dcc59d99a9341cff7295c407dad93101a9b3c.zip | |
Make the test a bit stronger.
This shows that it is really DT_SONAME that is used to detect dups.
llvm-svn: 249062
| -rw-r--r-- | lld/test/elf2/soname.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/test/elf2/soname.s b/lld/test/elf2/soname.s index 982511e8c66..886005be877 100644 --- a/lld/test/elf2/soname.s +++ b/lld/test/elf2/soname.s @@ -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) |

