]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/as-needed-lazy.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / as-needed-lazy.s
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/as-needed-lazy.s -o %t2.o
4 # RUN: ld.lld %t2.o -o %t2.so -shared
5 # RUN: rm -f %t2.a
6 # RUN: llvm-ar rc %t2.a %t2.o
7 # RUN: ld.lld %t1.o %t2.a --as-needed %t2.so -o %t
8 # RUN: llvm-readobj -d %t | FileCheck %s
9
10 # CHECK-NOT: NEEDED
11
12 .global _start
13 _start:
14   nop