[llvm-commits] CVS: llvm/test/Regression/Linker/testlink1.ll testlink2.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Apr 23 13:39:07 PDT 2003
Changes in directory llvm/test/Regression/Linker:
testlink1.ll updated: 1.7 -> 1.8
testlink2.ll updated: 1.8 -> 1.9
---
Log message:
Tweak testcases to use linkonce as appropriate
---
Diffs of the changes:
Index: llvm/test/Regression/Linker/testlink1.ll
diff -u llvm/test/Regression/Linker/testlink1.ll:1.7 llvm/test/Regression/Linker/testlink1.ll:1.8
--- llvm/test/Regression/Linker/testlink1.ll:1.7 Mon Apr 21 16:06:25 2003
+++ llvm/test/Regression/Linker/testlink1.ll Wed Apr 23 13:38:13 2003
@@ -12,7 +12,7 @@
%Intern2 = internal constant int 792
; Initialized to point to external %MyVar
-%MyVarPtr = global { int * } { int * %MyVar }
+%MyVarPtr = linkonce global { int * } { int * %MyVar }
declare int "foo"(int %blah) ;; Declared in testlink2.ll
Index: llvm/test/Regression/Linker/testlink2.ll
diff -u llvm/test/Regression/Linker/testlink2.ll:1.8 llvm/test/Regression/Linker/testlink2.ll:1.9
--- llvm/test/Regression/Linker/testlink2.ll:1.8 Mon Apr 21 16:06:25 2003
+++ llvm/test/Regression/Linker/testlink2.ll Wed Apr 23 13:38:13 2003
@@ -11,7 +11,7 @@
%Intern2 = constant int 12345 ;; Intern in one but not in other
%MyIntListPtr = constant { {\2,int}* } { {\2,int}* %MyIntList }
-%MyVarPtr = global { int * } { int * %MyVar }
+%MyVarPtr = linkonce global { int * } { int * %MyVar }
constant int 412
More information about the llvm-commits
mailing list