forked from OSchip/llvm-project
parent
aae59561d6
commit
9e5e2df3f3
|
@ -5,6 +5,22 @@
|
|||
// RUN: ld.lld -o %t %t.o %t2.so
|
||||
// RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
|
||||
|
||||
|
||||
// Inputs/progname-ver.so consists of the assembly file
|
||||
//
|
||||
// .global bar
|
||||
// bar:
|
||||
// .quad __progname
|
||||
//
|
||||
// linked into a library with the version script
|
||||
//
|
||||
// VER_1 {
|
||||
// global:
|
||||
// bar;
|
||||
// };
|
||||
//
|
||||
// We should create it with lld itself once we it supports that.
|
||||
|
||||
// RUN: ld.lld -o %t %t.o %p/Inputs/progname-ver.so
|
||||
// RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
|
||||
|
||||
|
|
Loading…
Reference in New Issue