OSDN Git Service

[gold] Fix error report in thinlto_emit_linked_objects.ll test
authorVitaly Buka <vitalybuka@google.com>
Wed, 14 Feb 2018 00:00:43 +0000 (00:00 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 14 Feb 2018 00:00:43 +0000 (00:00 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325080 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll [moved from test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects.ll with 100% similarity]
test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll [new file with mode: 0644]
test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll

diff --git a/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll b/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll
new file mode 100644 (file)
index 0000000..ec60421
--- /dev/null
@@ -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
+}
index 705fae1..e4f2ed8 100644 (file)
@@ -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