aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
commite3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch)
treeccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Linker
parent950bf6030101d670ea205efd307ea5d3b375544d (diff)
downloadexternal_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.zip
external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz
external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/2003-01-30-LinkerRename.ll2
-rw-r--r--test/Linker/2003-11-18-TypeResolution.ll2
-rw-r--r--test/Linker/2005-12-06-AppendingZeroLengthArrays.ll6
3 files changed, 5 insertions, 5 deletions
diff --git a/test/Linker/2003-01-30-LinkerRename.ll b/test/Linker/2003-01-30-LinkerRename.ll
index 724a2a8..3e4c50c 100644
--- a/test/Linker/2003-01-30-LinkerRename.ll
+++ b/test/Linker/2003-01-30-LinkerRename.ll
@@ -4,7 +4,7 @@
; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-upgrade |\
; RUN: llvm-as > %t.1.bc
; RUN: llvm-upgrade < %s | llvm-as -o %t.2.bc -f
-; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%foo()' | grep -v internal
+; 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-11-18-TypeResolution.ll b/test/Linker/2003-11-18-TypeResolution.ll
index 79d9fa4..07af969 100644
--- a/test/Linker/2003-11-18-TypeResolution.ll
+++ b/test/Linker/2003-11-18-TypeResolution.ll
@@ -5,7 +5,7 @@
; own.
; RUN: llvm-upgrade %s | llvm-as > %t.out2.bc
-; RUN: echo "%T1 = type opaque %GVar = external global %T1*" | llvm-as > %t.out1.bc
+; RUN: echo "%T1 = type opaque @GVar = external global %T1*" | llvm-as > %t.out1.bc
; RUN: llvm-link %t.out[12].bc
%T1 = type opaque
diff --git a/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll b/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
index 7aeffdf..4c94f54 100644
--- a/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
+++ b/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
@@ -1,9 +1,9 @@
-; RUN: echo "%G = appending global [0 x int] zeroinitializer" | llvm-upgrade |\
+; RUN: echo "@G = appending global [0 x i32] zeroinitializer" | \
; RUN: llvm-as > %t.out2.bc
; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
-; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '%G ='
+; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '@G ='
; When linked, the globals should be merged, and the result should still
-; be named '%G'.
+; be named '@G'.
%G = appending global [1 x int] zeroinitializer