[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/extern_weak.ll
Evan Cheng
evan.cheng at apple.com
Fri Dec 1 01:18:34 PST 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
extern_weak.ll added (r1.1)
---
Log message:
Add a extern weak test case.
---
Diffs of the changes: (+11 -0)
extern_weak.ll | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/test/Regression/CodeGen/X86/extern_weak.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/extern_weak.ll:1.1
*** /dev/null Fri Dec 1 03:18:30 2006
--- llvm/test/Regression/CodeGen/X86/extern_weak.ll Fri Dec 1 03:18:20 2006
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep weak_reference | wc -l | grep 2
+
+ %Y = global int (sbyte*)* %X
+ declare extern_weak int %X(sbyte*)
+
+ void %bar() {
+ tail call void (...)* %foo( )
+ ret void
+ }
+
+ declare extern_weak void %foo(...)
More information about the llvm-commits
mailing list