diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-19 19:29:50 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-19 19:29:50 +0000 |
commit | db167271fdd4a96dea88a923d2fd8934e5b4f037 (patch) | |
tree | da4d4b956b7887df485102255a9fb0d22a010395 /test/Linker | |
parent | cbac0aa9eba5f2d41fcc83628487e41ec4e4a28e (diff) | |
download | external_llvm-db167271fdd4a96dea88a923d2fd8934e5b4f037.zip external_llvm-db167271fdd4a96dea88a923d2fd8934e5b4f037.tar.gz external_llvm-db167271fdd4a96dea88a923d2fd8934e5b4f037.tar.bz2 |
Make sure linker output is overwritten so this test can pass multiple times.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r-- | test/Linker/weakextern.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Linker/weakextern.ll b/test/Linker/weakextern.ll index a04be67..d1f78fb 100644 --- a/test/Linker/weakextern.ll +++ b/test/Linker/weakextern.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s > %t.bc ; RUN: llvm-as < `dirname %s`/testlink1.ll > %t2.bc -; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.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 int" && ; RUN: llvm-dis < %t1.bc |grep "Inte = global int" @@ -10,4 +10,3 @@ %Inte = extern_weak global int implementation - |