[llvm] r325080 - [gold] Fix error report in thinlto_emit_linked_objects.ll test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 16:00:44 PST 2018
Author: vitalybuka
Date: Tue Feb 13 16:00:43 2018
New Revision: 325080
URL: http://llvm.org/viewvc/llvm-project?rev=325080&view=rev
Log:
[gold] Fix error report in thinlto_emit_linked_objects.ll test
Summary:
It's just cleanup after r323818 to avoid irrelevant error message inside the test.
Existing version of test passed but generated unrelated error report about
symbol redefinition.
Added:
llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll
llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll
Removed:
llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects.ll
Modified:
llvm/trunk/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
Removed: llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects.ll?rev=325079&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects.ll (original)
+++ llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects.ll (removed)
@@ -1,7 +0,0 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-define void @foo() {
-entry:
- ret void
-}
Added: llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll?rev=325080&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll (added)
+++ llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll Tue Feb 13 16:00:43 2018
@@ -0,0 +1,7 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+define void @foo() {
+entry:
+ ret void
+}
Added: llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll?rev=325080&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll (added)
+++ llvm/trunk/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll Tue Feb 13 16:00:43 2018
@@ -0,0 +1,7 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+define void @bar() {
+entry:
+ ret void
+}
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=325080&r1=325079&r2=325080&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 Feb 13 16:00:43 2018
@@ -3,8 +3,8 @@
; First generate bitcode with a module summary index for each file
; RUN: opt -module-summary %s -o %t1.o
-; RUN: opt -module-summary %p/Inputs/thinlto_emit_linked_objects.ll -o %t2.o
-; RUN: opt %s -o %t3.o
+; RUN: opt -module-summary %p/Inputs/thinlto_emit_linked_objects2.ll -o %t2.o
+; RUN: opt %p/Inputs/thinlto_emit_linked_objects3.ll -o %t3.o
; Next do the ThinLink step, specifying thinlto-index-only so that the gold
; plugin exits after generating individual indexes. The objects the linker
More information about the llvm-commits
mailing list