Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 1785a0a

Browse files
committed
Rename confusing variable names in a test.
"%tar" looks like a tar archive, but it's actually an .a archive. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@324692 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent f09f195 commit 1785a0a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/ELF/archive.s

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t3
44
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive3.s -o %t4
55
# 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
1313
# REQUIRES: x86
1414

1515
# Nothing here. Just needed for the linker to create a undefined _start symbol.
@@ -31,8 +31,8 @@
3131

3232
# Test that the hitting the first object file after having a lazy symbol for
3333
# _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
3636

3737
# AR-FIRST: T _start
3838
# AR-FIRST-NEXT: w bar

0 commit comments

Comments
 (0)