[lld] r250126 - [elf2] Tighten up test.
Michael J. Spencer via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 16:44:22 PDT 2015
Author: mspencer
Date: Mon Oct 12 18:44:22 2015
New Revision: 250126
URL: http://llvm.org/viewvc/llvm-project?rev=250126&view=rev
Log:
[elf2] Tighten up test.
Modified:
lld/trunk/test/elf2/tls-static.s
Modified: lld/trunk/test/elf2/tls-static.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/tls-static.s?rev=250126&r1=250125&r2=250126&view=diff
==============================================================================
--- lld/trunk/test/elf2/tls-static.s (original)
+++ lld/trunk/test/elf2/tls-static.s Mon Oct 12 18:44:22 2015
@@ -3,9 +3,11 @@
// RUN: ld.lld2 -static %t -o %tout
// RUN: ld.lld2 %t -o %tout
// RUN: ld.lld2 -shared %tso -o %tshared
-// RUN: not ld.lld2 -static %t %tshared -o %tout
+// RUN: not ld.lld2 -static %t %tshared -o %tout 2>&1 | FileCheck %s
// REQUIRES: x86
.global _start
_start:
call __tls_get_addr
+
+// CHECK: undefined symbol: __tls_get_addr
More information about the llvm-commits
mailing list