[lld] r287538 - [ELF] Attempt to fix Windows buidbot

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 05:57:51 PST 2016


Author: evgeny777
Date: Mon Nov 21 07:57:50 2016
New Revision: 287538

URL: http://llvm.org/viewvc/llvm-project?rev=287538&view=rev
Log:
[ELF] Attempt to fix Windows buidbot

Added:
    lld/trunk/test/ELF/Inputs/bad-archive.a
Modified:
    lld/trunk/test/ELF/bad-archive.s

Added: lld/trunk/test/ELF/Inputs/bad-archive.a
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/bad-archive.a?rev=287538&view=auto
==============================================================================
--- lld/trunk/test/ELF/Inputs/bad-archive.a (added)
+++ lld/trunk/test/ELF/Inputs/bad-archive.a Mon Nov 21 07:57:50 2016
@@ -0,0 +1,2 @@
+!<arch>
+this is malformed archive used in bad-archive.s

Modified: lld/trunk/test/ELF/bad-archive.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/bad-archive.s?rev=287538&r1=287537&r2=287538&view=diff
==============================================================================
--- lld/trunk/test/ELF/bad-archive.s (original)
+++ lld/trunk/test/ELF/bad-archive.s Mon Nov 21 07:57:50 2016
@@ -3,11 +3,9 @@
 // Check bad archive error reporting with --whole-archive
 // and without it.
 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-// RUN: echo "!<arch>" > %t.bad.a
-// RUN: echo "bad archive" >> %t.bad.a
-// RUN: not ld.lld %t.o %t.bad.a -o %t 2>&1 | FileCheck %s
-// RUN: not ld.lld %t.o --whole-archive %t.bad.a -o %t 2>&1 | FileCheck %s
-// CHECK: {{.*}}.bad.a: failed to parse archive
+// RUN: not ld.lld %t.o %p/Inputs/bad-archive.a -o %t 2>&1 | FileCheck %s
+// RUN: not ld.lld %t.o --whole-archive %p/Inputs/bad-archive.a -o %t 2>&1 | FileCheck %s
+// CHECK: bad-archive.a: failed to parse archive
 
 .globl _start
 _start:




More information about the llvm-commits mailing list