[ThinLTO/gold] Remove thin archive part of new test due to bot failures

I am getting a bot failure from the thin archive part of this test:

From
http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/40468/steps/test_llvm/logs/LLVM%20%3A%3A%20tools__gold__X86__thinlto_emit_linked_objects.ll:

Command Output (stderr):
--
/home/bb/cmake-llvm-x86_64-linux/build/./bin/llvm-ar: creating
/home/bb/cmake-llvm-x86_64-linux/build/test/tools/gold/X86/Output/thinlto_emit_linked_objects.ll.tmp2.a
/usr/bin/ld.gold: internal error in add_writer, at
../../gold/token.h:124

--

This appears to be an issue with an older version of gold. The test case
passes for me locally when I use the gold v1.12 I was testing with, but
when I tried the gold installed on my system which is v1.11 I get the
same error.

Remove the thin archive version of the test, since there isn't a way to
predicate it on gold version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Teresa Johnson 2016-07-22 18:32:30 +00:00
parent 0618303382
commit 13bed9484c

View File

@ -17,19 +17,7 @@
; RUN: %t.o \
; RUN: --start-lib %t2.o --end-lib
; Do the same check for a thin archive (note that non-thin archives don't play
; well with thinlto-index-only because we need to have an object file to
; import from in the distributed ThinLTO backends).
; RUN: llvm-ar Tr %t2.a %t2.o
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
; RUN: --plugin-opt=thinlto \
; RUN: --plugin-opt=thinlto-index-only=%t4 \
; RUN: -o %t5 \
; RUN: %t.o \
; RUN: %t2.a
; RUN: cat %t3 | FileCheck %s
; RUN: cat %t4 | FileCheck %s
; CHECK: thinlto_emit_linked_objects.ll.tmp.o
; CHECK: thinlto_emit_linked_objects.ll.tmp2.o