[lld] r249062 - Make the test a bit stronger.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 13:04:31 PDT 2015


Author: rafael
Date: Thu Oct  1 15:04:31 2015
New Revision: 249062

URL: http://llvm.org/viewvc/llvm-project?rev=249062&view=rev
Log:
Make the test a bit stronger.

This shows that it is really DT_SONAME that is used to detect dups.

Modified:
    lld/trunk/test/elf2/soname.s

Modified: lld/trunk/test/elf2/soname.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/soname.s?rev=249062&r1=249061&r2=249062&view=diff
==============================================================================
--- lld/trunk/test/elf2/soname.s (original)
+++ lld/trunk/test/elf2/soname.s Thu Oct  1 15:04:31 2015
@@ -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)




More information about the llvm-commits mailing list