mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Updated these tests so that they use the new temporary directory as opposed
to the old Output directory for temporary files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68886d44b1
commit
26c7d8b7e0
@ -1,7 +1,7 @@
|
||||
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "%S = type { int, int* }" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[12].bc
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "%S = type { int, int* }" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[12].bc
|
||||
|
||||
%T = type opaque
|
||||
%S = type { int, %T* }
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[12].bc | llvm-dis | not grep opaque
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep opaque
|
||||
|
||||
; After linking this testcase, there should be no opaque types left. The two
|
||||
; S's should cause the opaque type to be resolved to 'int'.
|
||||
|
@ -1,8 +1,8 @@
|
||||
; It's a bad idea to go recursively traipsing through types without a safety
|
||||
; net.
|
||||
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "%S = type { %S*, int* }" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[12].bc
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "%S = type { %S*, int* }" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[12].bc
|
||||
|
||||
%S = type { %S*, opaque* }
|
||||
|
@ -1,9 +1,9 @@
|
||||
; Linking these a module with a specified pointer size to one without a
|
||||
; specified pointer size should not cause a warning!
|
||||
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[12].bc 2>&1 | not grep WARNING
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[12].bc 2>&1 | not grep WARNING
|
||||
|
||||
target pointersize = 64
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[21].bc
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[21].bc
|
||||
|
||||
%S = type opaque
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[21].bc
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[21].bc
|
||||
|
||||
%S = type opaque
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s > Output/%s.out1.bc
|
||||
; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
|
||||
; RUN: llvm-link Output/%s.out[21].bc
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out[21].bc
|
||||
|
||||
%S = type opaque
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user