From ac0bf8f29632e4abb92708d756595d2ae7acc7a0 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Tue, 2 Jul 2019 20:24:00 +0000 Subject: [PATCH] [gold] Fix test after BitStream reader error changes The recent change to the BitStream reader error handling in r364464 changed the error message format (from "LLVM ERROR:" to just "error"), leading to a failure in this test which is only executed for very recent versions of gold. Fix this by removing that part of the error message check, leaving only the interesting part of the message to be checked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364965 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll b/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll index cf86a66e31c..b110eb0de2e 100644 --- a/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll +++ b/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll @@ -47,7 +47,7 @@ ; Empty as the corresponding object file is not ThinTLO. ; RUN: not llvm-bcanalyzer --dump %t3.o.thinlto.bc 2>&1 | FileCheck %s -check-prefixes=CHECK-BC3 -; CHECK-BC3: LLVM ERROR: Unexpected end of file +; CHECK-BC3: Unexpected end of file ; RUN: cat %t.index | FileCheck %s ; CHECK: thinlto_emit_linked_objects.ll.tmp1.o -- 2.50.1