[llvm-commits] CVS: llvm/test/Regression/Linker/weakextern.ll

Reid Spencer reid at x10sys.com
Mon Jan 1 21:55:28 PST 2007



Changes in directory llvm/test/Regression/Linker:

weakextern.ll updated: 1.3 -> 1.4
---
Log message:

For PR1070: http://llvm.org/PR1070 :
Tweak the RUN: lines of these tests to accommodate the renaming of 
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.


---
Diffs of the changes:  (+2 -2)

 weakextern.ll |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/Linker/weakextern.ll
diff -u llvm/test/Regression/Linker/weakextern.ll:1.3 llvm/test/Regression/Linker/weakextern.ll:1.4
--- llvm/test/Regression/Linker/weakextern.ll:1.3	Sun Dec 31 00:01:59 2006
+++ llvm/test/Regression/Linker/weakextern.ll	Mon Jan  1 23:55:05 2007
@@ -2,8 +2,8 @@
 ; RUN: llvm-upgrade < `dirname %s`/testlink1.ll | llvm-as > %t2.bc
 ; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
 ; RUN: llvm-dis < %t1.bc | grep "kallsyms_names = extern_weak" &&
-; RUN: llvm-dis < %t1.bc | grep "MyVar = external global i32" &&
-; RUN: llvm-dis < %t1.bc | grep "Inte = global i32"
+; RUN: llvm-dis < %t1.bc | grep "MyVar.s = external global i32" &&
+; RUN: llvm-dis < %t1.bc | grep "Inte.s = global i32"
 
 %kallsyms_names = extern_weak global [0 x ubyte]
 %MyVar     = extern_weak global int






More information about the llvm-commits mailing list