[llvm] r254186 - Test both input file orders.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 26 19:50:35 PST 2015
Author: rafael
Date: Thu Nov 26 21:50:34 2015
New Revision: 254186
URL: http://llvm.org/viewvc/llvm-project?rev=254186&view=rev
Log:
Test both input file orders.
Modified:
llvm/trunk/test/tools/gold/X86/available-externally.ll
Modified: llvm/trunk/test/tools/gold/X86/available-externally.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/available-externally.ll?rev=254186&r1=254185&r2=254186&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/available-externally.ll (original)
+++ llvm/trunk/test/tools/gold/X86/available-externally.ll Thu Nov 26 21:50:34 2015
@@ -6,6 +6,11 @@
; RUN: -shared %t.o %t2.o -o %t3.o
; RUN: llvm-dis %t3.o -o - | FileCheck %s
+; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
+; RUN: --plugin-opt=emit-llvm \
+; RUN: -shared %t2.o %t.o -o %t3.o
+; RUN: llvm-dis %t3.o -o - | FileCheck %s
+
define void @foo() {
call void @bar()
call void @zed()
@@ -18,5 +23,5 @@ define available_externally void @zed()
ret void
}
-; CHECK: define available_externally void @bar() {
-; CHECK: define void @zed() {
+; CHECK-DAG: define available_externally void @bar() {
+; CHECK-DAG: define void @zed() {
More information about the llvm-commits
mailing list