annotate lld/test/ELF/dynamic-list-archive.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author |
Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
date |
Mon, 14 Dec 2020 18:01:34 +0900 |
parents |
1d019706d866 |
children |
5f17cb93ff66 |
rev |
line source |
150
|
1 # REQUIRES: x86
|
|
2
|
|
3 # RUN: rm -f %t.a
|
|
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t1.o
|
|
5 # RUN: llvm-ar rcs %t.a %t1.o
|
|
6
|
|
7 # RUN: echo "{ foo; };" > %t.list
|
|
8
|
|
9 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o
|
|
10 # RUN: ld.lld -shared -o %t.so --dynamic-list %t.list %t.a %t2.o
|
|
11
|
|
12 # RUN: llvm-readelf -dyn-symbols %t.so | FileCheck %s
|
|
13 # CHECK-NOT: foo
|
|
14
|
|
15 .global _start
|
|
16 _start:
|
|
17 nop
|