[llvm] r364965 - [gold] Fix test after BitStream reader error changes
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 13:24:00 PDT 2019
Author: tejohnson
Date: Tue Jul 2 13:24:00 2019
New Revision: 364965
URL: http://llvm.org/viewvc/llvm-project?rev=364965&view=rev
Log:
[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.
Modified:
llvm/trunk/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
Modified: llvm/trunk/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll?rev=364965&r1=364964&r2=364965&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll (original)
+++ llvm/trunk/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll Tue Jul 2 13:24:00 2019
@@ -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
More information about the llvm-commits
mailing list