Skip to content

Commit

Permalink
Pass the .ll files to llvm-link directly. NFC.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222681 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Nov 24, 2014
1 parent cd64ace commit d8e637e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions test/Linker/testlink2.ll → test/Linker/Inputs/testlink.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
; This file is used by testlink1.ll, so it doesn't actually do anything itself
;
; RUN: true

%intlist = type { %intlist*, i32 }


Expand Down
4 changes: 1 addition & 3 deletions test/Linker/testlink1.ll → test/Linker/testlink.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < %p/testlink2.ll > %t2.bc
; RUN: llvm-link %t.bc %t2.bc -S | FileCheck %s
; RUN: llvm-link %s %S/Inputs/testlink.ll -S | FileCheck %s

; CHECK: %Ty2 = type { %Ty1* }
; CHECK: %Ty1 = type { %Ty2* }
Expand Down
2 changes: 1 addition & 1 deletion test/Linker/weakextern.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < %p/testlink1.ll > %t2.bc
; RUN: llvm-as < %p/testlink.ll > %t2.bc
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
; RUN: llvm-dis < %t1.bc | FileCheck %s
; CHECK: kallsyms_names = extern_weak
Expand Down

0 comments on commit d8e637e

Please sign in to comment.