[lld] r324692 - Rename confusing variable names in a test.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 17:03:23 PST 2018
Author: ruiu
Date: Thu Feb 8 17:03:22 2018
New Revision: 324692
URL: http://llvm.org/viewvc/llvm-project?rev=324692&view=rev
Log:
Rename confusing variable names in a test.
"%tar" looks like a tar archive, but it's actually an .a archive.
Modified:
lld/trunk/test/ELF/archive.s
Modified: lld/trunk/test/ELF/archive.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/archive.s?rev=324692&r1=324691&r2=324692&view=diff
==============================================================================
--- lld/trunk/test/ELF/archive.s (original)
+++ lld/trunk/test/ELF/archive.s Thu Feb 8 17:03:22 2018
@@ -3,13 +3,13 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t3
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive3.s -o %t4
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive4.s -o %t5
-# RUN: llvm-ar rcs %tar %t2 %t3 %t4
-# RUN: ld.lld %t %tar %t5 -o %tout
-# RUN: llvm-nm %tout | FileCheck %s
-# RUN: rm -f %tarthin
-# RUN: llvm-ar --format=gnu rcsT %tarthin %t2 %t3 %t4
-# RUN: ld.lld %t %tarthin %t5 -o %tout
-# RUN: llvm-nm %tout | FileCheck %s
+# RUN: llvm-ar rcs %t.a %t2 %t3 %t4
+# RUN: ld.lld %t %t.a %t5 -o %t.out
+# RUN: llvm-nm %t.out | FileCheck %s
+# RUN: rm -f %t.thin
+# RUN: llvm-ar --format=gnu rcsT %t.thin %t2 %t3 %t4
+# RUN: ld.lld %t %t.thin %t5 -o %t.out
+# RUN: llvm-nm %t.out | FileCheck %s
# REQUIRES: x86
# Nothing here. Just needed for the linker to create a undefined _start symbol.
@@ -31,8 +31,8 @@
# Test that the hitting the first object file after having a lazy symbol for
# _start is handled correctly.
-# RUN: ld.lld %tar %t -o %tout
-# RUN: llvm-nm %tout | FileCheck --check-prefix=AR-FIRST %s
+# RUN: ld.lld %t.a %t -o %t.out
+# RUN: llvm-nm %t.out | FileCheck --check-prefix=AR-FIRST %s
# AR-FIRST: T _start
# AR-FIRST-NEXT: w bar
More information about the llvm-commits
mailing list