summaryrefslogtreecommitdiff
path: root/test/Linker/weakextern.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-02 05:55:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-02 05:55:05 +0000
commit7e6b4f7a6dee255e381dd55b39c49fdc5bcb8d10 (patch)
tree1d97e2c07ffb7e2540355612689c87b95e80e58f /test/Linker/weakextern.ll
parent8aabc9eb23cd0f09a865e71a052eb2f6f51ea6df (diff)
For 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/weakextern.ll')
-rw-r--r--test/Linker/weakextern.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/weakextern.ll b/test/Linker/weakextern.ll
index 3bda535d0ca..f4401811c96 100644
--- a/test/Linker/weakextern.ll
+++ b/test/Linker/weakextern.ll
@@ -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