From b6cb66f1c3d0fa98132ef85b4c93a700439572db Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Mon, 15 Sep 2003 20:04:28 +0000 Subject: Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8545 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2002-07-17-GlobalFail.ll | 6 +++--- test/Linker/2002-07-17-LinkTest2.ll | 6 +++--- test/Linker/2002-08-20-ConstantExpr.ll | 6 +++--- test/Linker/2003-01-30-LinkerRename.ll | 6 +++--- test/Linker/2003-01-30-LinkerTypeRename.ll | 6 +++--- test/Linker/2003-04-21-Linkage.ll | 6 +++--- test/Linker/2003-04-23-LinkOnceLost.ll | 6 +++--- test/Linker/2003-04-26-NullPtrLinkProblem.ll | 6 +++--- test/Linker/2003-05-15-TypeProblem.ll | 6 +++--- test/Linker/2003-05-31-LinkerRename.ll | 8 ++++---- test/Linker/2003-06-02-TypeResolveProblem.ll | 6 +++--- test/Linker/2003-06-02-TypeResolveProblem2.ll | 6 +++--- test/Linker/2003-08-20-OpaqueTypeResolve.ll | 6 +++--- test/Linker/2003-08-23-GlobalVarLinking.ll | 6 +++--- test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll | 6 +++--- test/Linker/2003-08-24-InheritPtrSize.ll | 6 +++--- test/Linker/2003-08-28-TypeResolvesGlobal.ll | 6 +++--- test/Linker/2003-08-28-TypeResolvesGlobal2.ll | 6 +++--- test/Linker/2003-08-28-TypeResolvesGlobal3.ll | 6 +++--- test/Linker/AppendingLinkage.ll | 6 +++--- test/Linker/AppendingLinkage2.ll | 6 +++--- test/Linker/LinkOnce.ll | 6 +++--- test/Linker/testlink1.ll | 6 +++--- 23 files changed, 70 insertions(+), 70 deletions(-) diff --git a/test/Linker/2002-07-17-GlobalFail.ll b/test/Linker/2002-07-17-GlobalFail.ll index 68726dac84..285b6abf11 100644 --- a/test/Linker/2002-07-17-GlobalFail.ll +++ b/test/Linker/2002-07-17-GlobalFail.ll @@ -1,6 +1,6 @@ -; RUN: as < %s > %t.bc -; RUN: echo | as > %t.tmp.bc -; RUN: link %t.tmp.bc %t.bc +; RUN: llvm-as < %s > %t.bc +; RUN: echo | llvm-as > %t.tmp.bc +; RUN: llvm-link %t.tmp.bc %t.bc %X = constant int 5 %Y = internal global [2 x int*] [ int* %X, int * %X] diff --git a/test/Linker/2002-07-17-LinkTest2.ll b/test/Linker/2002-07-17-LinkTest2.ll index 80286eb01f..413a31ae57 100644 --- a/test/Linker/2002-07-17-LinkTest2.ll +++ b/test/Linker/2002-07-17-LinkTest2.ll @@ -1,8 +1,8 @@ ; This fails linking when it is linked with an empty file as the first object file -; RUN: as > %t1.bc < /dev/null -; RUN: as < %s > %t2.bc -; RUN: link %t[12].bc +; RUN: llvm-as > %t1.bc < /dev/null +; RUN: llvm-as < %s > %t2.bc +; RUN: llvm-link %t[12].bc %work = global int (int, int)* %zip diff --git a/test/Linker/2002-08-20-ConstantExpr.ll b/test/Linker/2002-08-20-ConstantExpr.ll index da81af31f1..8b00cb902c 100644 --- a/test/Linker/2002-08-20-ConstantExpr.ll +++ b/test/Linker/2002-08-20-ConstantExpr.ll @@ -1,8 +1,8 @@ ; This fails linking when it is linked with an empty file as the first object file -; RUN: as > %t.LinkTest.bc < /dev/null -; RUN: as < %s > %t.bc -; RUN: link %t.LinkTest.bc %t.bc +; RUN: llvm-as > %t.LinkTest.bc < /dev/null +; RUN: llvm-as < %s > %t.bc +; RUN: llvm-link %t.LinkTest.bc %t.bc %work = global int 4 %test = global int* getelementptr( int* %work, long 1) diff --git a/test/Linker/2003-01-30-LinkerRename.ll b/test/Linker/2003-01-30-LinkerRename.ll index 3cf8f78553..cf9c4ae54d 100644 --- a/test/Linker/2003-01-30-LinkerRename.ll +++ b/test/Linker/2003-01-30-LinkerRename.ll @@ -1,9 +1,9 @@ ; This fails because the linker renames the external symbol not the internal ; one... -; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc -; RUN: as < %s > %t.2.bc -; RUN: link %t.[12].bc | dis | grep '%foo()' | grep -v internal +; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-as > %t.1.bc +; RUN: llvm-as < %s > %t.2.bc +; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%foo()' | grep -v internal implementation int %foo() { ret int 0 } diff --git a/test/Linker/2003-01-30-LinkerTypeRename.ll b/test/Linker/2003-01-30-LinkerTypeRename.ll index b0bd7640eb..e53c239d2e 100644 --- a/test/Linker/2003-01-30-LinkerTypeRename.ll +++ b/test/Linker/2003-01-30-LinkerTypeRename.ll @@ -1,9 +1,9 @@ ; This fails because the linker renames the non-opaque type not the opaque ; one... -; RUN: echo "%Ty = type opaque" | as > %t.1.bc -; RUN: as < %s > %t.2.bc -; RUN: link %t.[12].bc | dis | grep '%Ty ' | grep -v opaque +; RUN: echo "%Ty = type opaque" | llvm-as > %t.1.bc +; RUN: llvm-as < %s > %t.2.bc +; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | grep -v opaque %Ty = type int diff --git a/test/Linker/2003-04-21-Linkage.ll b/test/Linker/2003-04-21-Linkage.ll index 96fb5c048f..6071d0b394 100644 --- a/test/Linker/2003-04-21-Linkage.ll +++ b/test/Linker/2003-04-21-Linkage.ll @@ -1,6 +1,6 @@ -; RUN: echo "%X = linkonce global int 5 implementation linkonce int %foo() { ret int 7 }" | as > %t.1.bc -; RUN: as < %s > %t.2.bc -; RUN: link %t.[12].bc +; RUN: echo "%X = linkonce global int 5 implementation linkonce int %foo() { ret int 7 }" | llvm-as > %t.1.bc +; RUN: llvm-as < %s > %t.2.bc +; RUN: llvm-link %t.[12].bc %X = external global int implementation diff --git a/test/Linker/2003-04-23-LinkOnceLost.ll b/test/Linker/2003-04-23-LinkOnceLost.ll index cae03c6f8e..add9981f16 100644 --- a/test/Linker/2003-04-23-LinkOnceLost.ll +++ b/test/Linker/2003-04-23-LinkOnceLost.ll @@ -1,8 +1,8 @@ ; This fails because the linker renames the non-opaque type not the opaque ; one... -; RUN: echo "implementation linkonce void %foo() { ret void } " | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc | dis | grep foo | grep linkonce +; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc | llvm-dis | grep foo | grep linkonce declare void %foo() diff --git a/test/Linker/2003-04-26-NullPtrLinkProblem.ll b/test/Linker/2003-04-26-NullPtrLinkProblem.ll index 53c2f4ccbd..03447b12b1 100644 --- a/test/Linker/2003-04-26-NullPtrLinkProblem.ll +++ b/test/Linker/2003-04-26-NullPtrLinkProblem.ll @@ -1,9 +1,9 @@ ; This one fails because the LLVM runtime is allowing two null pointers of ; the same type to be created! -; RUN: echo "%T = type int" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc +; RUN: echo "%T = type int" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc %T = type opaque diff --git a/test/Linker/2003-05-15-TypeProblem.ll b/test/Linker/2003-05-15-TypeProblem.ll index 74c3fee38b..163cdfddce 100644 --- a/test/Linker/2003-05-15-TypeProblem.ll +++ b/test/Linker/2003-05-15-TypeProblem.ll @@ -1,9 +1,9 @@ ; This one fails because the LLVM runtime is allowing two null pointers of ; the same type to be created! -; RUN: echo "%S = type { %T*} %T = type opaque" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc +; RUN: echo "%S = type { %T*} %T = type opaque" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc %S = type { %T* } %T = type int diff --git a/test/Linker/2003-05-31-LinkerRename.ll b/test/Linker/2003-05-31-LinkerRename.ll index ac11f190f6..375c16017b 100644 --- a/test/Linker/2003-05-31-LinkerRename.ll +++ b/test/Linker/2003-05-31-LinkerRename.ll @@ -1,11 +1,11 @@ -; The funcresolve pass will (intentionally) link an _internal_ function body with an +; The funcresolve pass will (intentionally) llvm-link an _internal_ function body with an ; external declaration. Because of this, if we LINK an internal function body into ; a program that already has an external declaration for the function name, we must ; rename the internal function to something that does not conflict. -; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc -; RUN: as < %s > %t.2.bc -; RUN: link %t.[12].bc | dis | grep 'internal' | not grep '%foo(' +; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-as > %t.1.bc +; RUN: llvm-as < %s > %t.2.bc +; RUN: llvm-link %t.[12].bc | llvm-dis | grep 'internal' | not grep '%foo(' implementation declare int %foo() diff --git a/test/Linker/2003-06-02-TypeResolveProblem.ll b/test/Linker/2003-06-02-TypeResolveProblem.ll index 796cb8aa08..ceb046ee00 100644 --- a/test/Linker/2003-06-02-TypeResolveProblem.ll +++ b/test/Linker/2003-06-02-TypeResolveProblem.ll @@ -1,6 +1,6 @@ -; RUN: echo "%T = type opaque" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc +; RUN: echo "%T = type opaque" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc %T = type opaque %a = constant { %T* } { %T* null } diff --git a/test/Linker/2003-06-02-TypeResolveProblem2.ll b/test/Linker/2003-06-02-TypeResolveProblem2.ll index 7592b2ce5a..aa1bc174fb 100644 --- a/test/Linker/2003-06-02-TypeResolveProblem2.ll +++ b/test/Linker/2003-06-02-TypeResolveProblem2.ll @@ -1,6 +1,6 @@ -; RUN: echo "%T = type int" | as > %t.1.bc -; RUN: as < %s > %t.2.bc -; RUN: link %t.[12].bc +; RUN: echo "%T = type int" | llvm-as > %t.1.bc +; RUN: llvm-as < %s > %t.2.bc +; RUN: llvm-link %t.[12].bc %T = type opaque diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll index 01943364f8..95d3f09980 100644 --- a/test/Linker/2003-08-20-OpaqueTypeResolve.ll +++ b/test/Linker/2003-08-20-OpaqueTypeResolve.ll @@ -1,7 +1,7 @@ -; RUN: as < %s > Output/%s.out1.bc -; RUN: echo "%S = type { int, int* }" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[12].bc +; 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 %T = type opaque %S = type { int, %T* } diff --git a/test/Linker/2003-08-23-GlobalVarLinking.ll b/test/Linker/2003-08-23-GlobalVarLinking.ll index 4eab96330b..0666545dd8 100644 --- a/test/Linker/2003-08-23-GlobalVarLinking.ll +++ b/test/Linker/2003-08-23-GlobalVarLinking.ll @@ -1,6 +1,6 @@ -; RUN: as < %s > Output/%s.out1.bc -; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[12].bc | dis | not grep opaque +; 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 ; 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'. diff --git a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll index ac8fb08831..90e93335d0 100644 --- a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll +++ b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll @@ -1,8 +1,8 @@ ; It's a bad idea to go recursively traipsing through types without a safety ; net. -; RUN: as < %s > Output/%s.out1.bc -; RUN: echo "%S = type { %S*, int* }" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[12].bc +; 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 %S = type { %S*, opaque* } diff --git a/test/Linker/2003-08-24-InheritPtrSize.ll b/test/Linker/2003-08-24-InheritPtrSize.ll index a038a98ef3..1053a4eede 100644 --- a/test/Linker/2003-08-24-InheritPtrSize.ll +++ b/test/Linker/2003-08-24-InheritPtrSize.ll @@ -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: as < %s > Output/%s.out1.bc -; RUN: echo "" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[12].bc 2>&1 | not grep 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 target pointersize = 64 diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal.ll b/test/Linker/2003-08-28-TypeResolvesGlobal.ll index d7f646b484..1baeae5ec7 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal.ll @@ -1,6 +1,6 @@ -; RUN: as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[21].bc +; 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 %S = type opaque diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal2.ll b/test/Linker/2003-08-28-TypeResolvesGlobal2.ll index edf1865d77..a0526d4612 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal2.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal2.ll @@ -1,6 +1,6 @@ -; RUN: as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[21].bc +; 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 %S = type opaque diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll index aa199cb038..504e8dd477 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll @@ -1,6 +1,6 @@ -; RUN: as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | as > Output/%s.out2.bc -; RUN: link Output/%s.out[21].bc +; 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 %S = type opaque diff --git a/test/Linker/AppendingLinkage.ll b/test/Linker/AppendingLinkage.ll index 0019e6cdea..4126b8882b 100644 --- a/test/Linker/AppendingLinkage.ll +++ b/test/Linker/AppendingLinkage.ll @@ -1,8 +1,8 @@ ; Test that appending linkage works correctly. -; RUN: echo "%X = appending global [1x int] [int 8]" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc | dis | grep 7 | grep 4 | grep 8 +; RUN: echo "%X = appending global [1x int] [int 8]" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc | llvm-dis | grep 7 | grep 4 | grep 8 %X = appending global [2 x int] [int 7, int 4] diff --git a/test/Linker/AppendingLinkage2.ll b/test/Linker/AppendingLinkage2.ll index cef51191a8..8aabc8b3cf 100644 --- a/test/Linker/AppendingLinkage2.ll +++ b/test/Linker/AppendingLinkage2.ll @@ -1,7 +1,7 @@ ; Test that appending linkage works correctly when arrays are the same size. -; RUN: echo "%X = appending global [1x int] [int 8]" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc | dis | grep 7 | grep 8 +; RUN: echo "%X = appending global [1x int] [int 8]" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc | llvm-dis | grep 7 | grep 8 %X = appending global [1 x int] [int 7] diff --git a/test/Linker/LinkOnce.ll b/test/Linker/LinkOnce.ll index 5d731b37c4..17e742e751 100644 --- a/test/Linker/LinkOnce.ll +++ b/test/Linker/LinkOnce.ll @@ -1,8 +1,8 @@ ; This fails because the linker renames the non-opaque type not the opaque ; one... -; RUN: echo "%X = linkonce global int 8" | as > %t.2.bc -; RUN: as < %s > %t.1.bc -; RUN: link %t.[12].bc | dis +; RUN: echo "%X = linkonce global int 8" | llvm-as > %t.2.bc +; RUN: llvm-as < %s > %t.1.bc +; RUN: llvm-link %t.[12].bc | llvm-dis %X = linkonce global int 7 diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll index 2b40f3514b..5417239003 100644 --- a/test/Linker/testlink1.ll +++ b/test/Linker/testlink1.ll @@ -1,6 +1,6 @@ -; RUN: as < %s > %t.bc -; RUN: as < `dirname %s`/testlink2.ll > %t2.bc -; RUN: link %t.bc %t2.bc +; RUN: llvm-as < %s > %t.bc +; RUN: llvm-as < `dirname %s`/testlink2.ll > %t2.bc +; RUN: llvm-link %t.bc %t2.bc %MyVar = external global int %MyIntList = global { \2 *, int } { { \2, int }* null, int 17 } -- cgit v1.2.3