This repository was archived by the owner on Feb 5, 2019. It is now read-only.
File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t3
4
4
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive3.s -o %t4
5
5
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive4.s -o %t5
6
- # RUN: llvm-ar rcs %tar %t2 %t3 %t4
7
- # RUN: ld.lld %t %tar %t5 -o %tout
8
- # RUN: llvm-nm %tout | FileCheck %s
9
- # RUN: rm -f %tarthin
10
- # RUN: llvm-ar --format=gnu rcsT %tarthin %t2 %t3 %t4
11
- # RUN: ld.lld %t %tarthin %t5 -o %tout
12
- # RUN: llvm-nm %tout | FileCheck %s
6
+ # RUN: llvm-ar rcs %t.a %t2 %t3 %t4
7
+ # RUN: ld.lld %t %t.a %t5 -o %t.out
8
+ # RUN: llvm-nm %t.out | FileCheck %s
9
+ # RUN: rm -f %t.thin
10
+ # RUN: llvm-ar --format=gnu rcsT %t.thin %t2 %t3 %t4
11
+ # RUN: ld.lld %t %t.thin %t5 -o %t.out
12
+ # RUN: llvm-nm %t.out | FileCheck %s
13
13
# REQUIRES: x86
14
14
15
15
# Nothing here. Just needed for the linker to create a undefined _start symbol.
31
31
32
32
# Test that the hitting the first object file after having a lazy symbol for
33
33
# _start is handled correctly.
34
- # RUN: ld.lld %tar %t -o %tout
35
- # RUN: llvm-nm %tout | FileCheck --check-prefix=AR-FIRST %s
34
+ # RUN: ld.lld %t.a %t -o %t.out
35
+ # RUN: llvm-nm %t.out | FileCheck --check-prefix=AR-FIRST %s
36
36
37
37
# AR-FIRST: T _start
38
38
# AR-FIRST-NEXT: w bar
You can’t perform that action at this time.
0 commit comments