Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 15 Sep 2003 20:04:28 +0000 (20:04 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 15 Sep 2003 20:04:28 +0000 (20:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8545 91177308-0d34-0410-b5e6-96231b3b80d8

23 files changed:
test/Linker/2002-07-17-GlobalFail.ll
test/Linker/2002-07-17-LinkTest2.ll
test/Linker/2002-08-20-ConstantExpr.ll
test/Linker/2003-01-30-LinkerRename.ll
test/Linker/2003-01-30-LinkerTypeRename.ll
test/Linker/2003-04-21-Linkage.ll
test/Linker/2003-04-23-LinkOnceLost.ll
test/Linker/2003-04-26-NullPtrLinkProblem.ll
test/Linker/2003-05-15-TypeProblem.ll
test/Linker/2003-05-31-LinkerRename.ll
test/Linker/2003-06-02-TypeResolveProblem.ll
test/Linker/2003-06-02-TypeResolveProblem2.ll
test/Linker/2003-08-20-OpaqueTypeResolve.ll
test/Linker/2003-08-23-GlobalVarLinking.ll
test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
test/Linker/2003-08-24-InheritPtrSize.ll
test/Linker/2003-08-28-TypeResolvesGlobal.ll
test/Linker/2003-08-28-TypeResolvesGlobal2.ll
test/Linker/2003-08-28-TypeResolvesGlobal3.ll
test/Linker/AppendingLinkage.ll
test/Linker/AppendingLinkage2.ll
test/Linker/LinkOnce.ll
test/Linker/testlink1.ll

index 68726dac84d122fce1bd2fe7284e1c60fcdd079b..285b6abf1148f3904cccf66d149351d3f847e4d1 100644 (file)
@@ -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]
index 80286eb01f6445542b6a3936674f4f3fff11f476..413a31ae570d2ee578b11ff856d0cd3696867003 100644 (file)
@@ -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
 
index da81af31f1cc6925ef04f3fa487f531dd323cda9..8b00cb902c56126551a9f3f924a512154b0c2aec 100644 (file)
@@ -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)
index 3cf8f7855350c36e0031f1e9359b639ba7ea2737..cf9c4ae54d037b3ca82aafe8b29120dc177864ba 100644 (file)
@@ -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 }
index b0bd7640eb3590eb374edd3841b9329866c4b9ef..e53c239d2e6f0af063ef066c88990e72b662ae9b 100644 (file)
@@ -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
 
index 96fb5c048fb998e9da7c083d8204ffc156d86ea4..6071d0b39498223198633f39c9bddba6a0f88098 100644 (file)
@@ -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
index cae03c6f8e2fddb69b0ad38b65c5d6cea62d0162..add9981f16d04d2c14a45c1c6d0f2b20dc073b30 100644 (file)
@@ -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()
index 53c2f4ccbd2aadcf5ff2da7342d6a56a1588372a..03447b12b1879f9feea9271b9ad7cbc485804a26 100644 (file)
@@ -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
 
index 74c3fee38b67109c6f648b227a27b90298baff1b..163cdfddcecfd23be0787e17e8d5392335027439 100644 (file)
@@ -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
index ac11f190f6a679aee0f2d3405d5e4fd8b405bd88..375c16017b3dad479aa0a3f182fcdab73895017a 100644 (file)
@@ -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() 
index 796cb8aa08ed29978432b93ba87c2bfca3ff8c33..ceb046ee003ae2e7dc58f4b2ceebbde26eb9f6a0 100644 (file)
@@ -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 }
index 7592b2ce5a9b3065141f762682201675c16938dd..aa1bc174fb05cf68f5257404fd8341e5054cbb61 100644 (file)
@@ -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
 
index 01943364f8c48899ff6438ec33131ca2ec94d2a7..95d3f09980709203f88feaad06cb0e3a8430f4fe 100644 (file)
@@ -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* }
index 4eab96330b8673f7e665115c38c6684d74293b2a..0666545dd820c8631c9daba243de4260e023b933 100644 (file)
@@ -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'.
index ac8fb08831825a7f9e1c3049978ea8cb1de6958e..90e93335d06ce6623fc8a377afa0e31073cbd599 100644 (file)
@@ -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* }
index a038a98ef3c3303862ed3dfae09dcca7ac64d7ef..1053a4eede876e456cc83f626b85670f8e0ec199 100644 (file)
@@ -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
 
index d7f646b484a3a4cf3ab81e1b31216873437970a6..1baeae5ec79ccf28c1a00bfc23eb91ea8350e9fd 100644 (file)
@@ -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
 
index edf1865d77c342207039712d7505ed20b9fd6141..a0526d4612c3b257eebe4d9b576ed801683480fc 100644 (file)
@@ -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
 
index aa199cb0387f17bcdf7e2f8623f931ae6b704e9c..504e8dd47791d019461cdfef75fb38afe24f47d2 100644 (file)
@@ -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
 
index 0019e6cdea917e8ee364f954098f3f399f0f8445..4126b8882b6ce29af71c0b6d7b56454fe303faaf 100644 (file)
@@ -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]
 
index cef51191a810b2f58acd1452c3127e9d4a13e1ac..8aabc8b3cf94acf2bca44362ada689b248407ef1 100644 (file)
@@ -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]
index 5d731b37c472f520d002cbb308461aed304853cd..17e742e751ad77151bb97e761a2148cb375175d7 100644 (file)
@@ -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
index 2b40f3514b43bd0e5516784a91851a38f3f4e86e..54172390031f0eaa7c86a7a7161692e486b756c0 100644 (file)
@@ -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 }